OSDN Git Service

i2c-parport: define ports to connect
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 20 May 2015 15:26:59 +0000 (20:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 22:08:19 +0000 (07:08 +0900)
commit19a4fb21f804dbd5a327eba7a1569b6b8e941a54
treec29861ee269636bd3cca2321152119c72c9719b1
parent9be83c0a44de0c595734f96393aec847b68da3f1
i2c-parport: define ports to connect

As of now i2c-parport was connecting to all the available parallel
ports. Lets limit that to maximum of 4 instances and at the same time
define which instance connects to which parallel port.

Tested-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-parport.c