[PATCH] i2c-parport: Make type parameter mandatory
authorMark M. Hoffman <mhoffman@lightlink.com>
Thu, 23 Mar 2006 15:50:25 +0000 (16:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Apr 2006 18:18:34 +0000 (11:18 -0700)
This patch forces the user to specify what type of adapter is present when
loading i2c-parport or i2c-parport-light.  If none is specified, the driver
init simply fails - instead of assuming adapter type 0.

This alleviates the sometimes lengthy boot time delays which can be caused
by accidentally building one of these into a kernel along with several i2c
slave drivers that have lengthy probe routines (e.g. hwmon drivers).

Kconfig and documentation updated accordingly.

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found