staging: Enable parport sb105x drivers if parport is configured
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 14 Dec 2012 16:45:42 +0000 (11:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 17:32:46 +0000 (09:32 -0800)
commitb1255fb989e1d11295cd7e530848b6a05baa9331
tree4e64468d7b18e3664cb2be2f02b41a56be5933d5
parentdb210312f77b8e0e3652bbbaafe879c24c8ba604
staging: Enable parport sb105x drivers if parport is configured

Some of the drivers that the sb105x SystemBase handles are for parallel
port cards. If PARPORT isn't configured, the build fails. Only
initialize the parallel port cards if PARPORT is configured in.

Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sb105x/sb_pci_mp.c