1
0
Fork 0
alistair23-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
..
Kconfig [IrDA]: Irport removal - part 1 2008-01-28 15:08:10 -08:00
Makefile [IrDA]: Irport removal - part 1 2008-01-28 15:08:10 -08:00
act200l-sir.c
actisys-sir.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
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 drivers/net/irda/au1k_ir: fix obvious irq handler bugs 2007-10-29 05:42:18 -04:00
au1000_ircc.h
donauboe.c Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
donauboe.h Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
ep7211-sir.c [IrDA]: EP7211 IR driver port to the latest SIR API 2007-07-21 19:07:33 -07:00
esi-sir.c
girbil-sir.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
irda-usb.c [IRDA]: Race between open and disconnect in irda-usb. 2007-12-16 14:07:36 -08:00
irda-usb.h [IrDA]: irda-usb TX path optimization (was Re: IrDA spams logfiles - since 2.6.19) 2007-01-23 20:25:49 -08:00
irtty-sir.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
irtty-sir.h
kingsun-sir.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
ks959-sir.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
ksdazzle-sir.c [IRDA]: Oops fix for ksdazzle 2007-10-10 16:54:50 -07:00
litelink-sir.c
ma600-sir.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mcp2120-sir.c
mcs7780.c net: use get/put_unaligned_* helpers 2008-04-29 08:06:27 -07:00
mcs7780.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
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 WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
sir_dev.c drivers/net/irda: endianness, NULL noise 2007-10-10 16:52:02 -07:00
sir_dongle.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
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 Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
toim3232-sir.c
via-ircc.c [netdrvr] irq handler minor cleanups in several drivers 2008-01-28 15:03:40 -08:00
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 drivers/net/irda: endianness, NULL noise 2007-10-10 16:52:02 -07:00
w83977af.h
w83977af_ir.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
w83977af_ir.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00