linux/drivers/net/irda
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
..
act200l-sir.c
actisys-sir.c
ali-ircc.c net drivers: fix platform driver hotplug/coldplug 2008-04-25 02:08:54 -04:00
ali-ircc.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
au1k_ir.c
au1000_ircc.h
donauboe.c
donauboe.h
ep7211-sir.c
esi-sir.c
girbil-sir.c
irda-usb.c
irda-usb.h
irtty-sir.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
irtty-sir.h
Kconfig
kingsun-sir.c
ks959-sir.c
ksdazzle-sir.c
litelink-sir.c
ma600-sir.c
Makefile
mcp2120-sir.c
mcs7780.c net: use get/put_unaligned_* helpers 2008-04-29 08:06:27 -07:00
mcs7780.h
nsc-ircc.c irda: fix !PNP support in drivers/net/irda/nsc-ircc.c 2008-05-05 01:04:06 -07:00
nsc-ircc.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
old_belkin-sir.c
pxaficp_ir.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-04-25 12:28:28 -07:00
sa1100_ir.c net drivers: fix platform driver hotplug/coldplug 2008-04-25 02:08:54 -04:00
sir-dev.h
sir_dev.c
sir_dongle.c
smsc-ircc2.c irda: fix !PNP support for drivers/net/irda/smsc-ircc2.c 2008-05-05 01:06:54 -07:00
smsc-ircc2.h
smsc-sio.h
stir4200.c net: use get/put_unaligned_* helpers 2008-04-29 08:06:27 -07:00
tekram-sir.c
toim3232-sir.c
via-ircc.c
via-ircc.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
vlsi_ir.c netdev: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
vlsi_ir.h
w83977af.h
w83977af_ir.c
w83977af_ir.h