]> git.baikalelectronics.ru Git - kernel.git/commit
staging/sb105x: PARPORT config is not good enough must use PARPORT_PC
authorSteven Rostedt <rostedt@goodmis.org>
Sat, 12 Jan 2013 01:17:01 +0000 (20:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 00:39:41 +0000 (16:39 -0800)
commitb2b4c94aa779e09a1400dd0570d8dbfc1a3ba1ae
tree77080b7f061f934da81c38a43612a19bc7b0975a
parent89d448170fc401e303916087e5588981ff78dfa0
staging/sb105x: PARPORT config is not good enough must use PARPORT_PC

The sb105x driver calls parport_pc_probe_port() which isn't defined if
PARPORT_PC isn't enabled. Protecting it with CONFIG_PARPORT is not good
enough, must protect it with CONFIG_PARPORT_PC.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sb105x/sb_pci_mp.c