Ingo Molnar 7a1aa309f2 irda: fix !PNP support for drivers/net/irda/smsc-ircc2.c
x86.git testing found this build bug on v2.6.26-rc1:

  ERROR: "pnp_get_resource" [drivers/net/irda/smsc-ircc2.ko] undefined!
  make[1]: *** [__modpost] Error 1
  make: *** [modules] Error 2

the driver did not anticipate the case of !CONFIG_PNP which is rare but 
still possible. Instead of restricting the driver to PNP-only in the 
Kconfig space, add the (trivial) dummy struct pnp_driver - this is that 
other drivers use in the !PNP case too.

The driver itself can in theory be initialized on !PNP too in certain 
cases, via smsc_ircc_legacy_probe().

Patch only minimally build tested, i dont have this hardware.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-05 01:06:54 -07:00
..
2008-02-03 15:42:53 +02:00
2008-04-30 08:29:47 -07:00
2008-01-28 15:08:10 -08:00
2007-10-10 16:54:50 -07:00
2008-01-28 15:08:10 -08:00
2008-04-29 08:06:27 -07:00
2008-02-03 15:42:53 +02:00
2006-11-22 14:57:56 +00:00
2008-02-03 15:42:53 +02:00