pcmcia: do not load the pd6729 driver if io_base is NULL
authorKomuro <komurojun-mbn@nifty.com>
Fri, 23 Oct 2009 23:07:39 +0000 (08:07 +0900)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sat, 24 Oct 2009 15:08:37 +0000 (17:08 +0200)
commit94efb72328afa29ea5fd93e48ed17489afcdaa12
tree1bfd6b30ff0d5b19c5a2b925f3b07495c32796b9
parent5f784336dc02a1c5be3dffac3506bc07c1604cee
pcmcia: do not load the pd6729 driver if io_base is NULL

The CL-PD6729 chip in some docking station is not initialized properly
under Linux. In that case, do not load the pd6729 driver.

[Dominik Brodowski <linux@dominikbrodowski.net>: spelling fixes, check for NULL not 0]
Signed-off-by: Komuro <komurojun-mbn@nifty.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/pd6729.c