Files
ubports_kernel_google_msm/drivers/net
Ingo Molnar c17f888f8f irda: fix !PNP support in drivers/net/irda/nsc-ircc.c
x86.git testing found the following build failure in latest -git:

 drivers/built-in.o: In function `nsc_ircc_pnp_probe':
 nsc-ircc.c:(.text+0xdf1b6): undefined reference to `pnp_get_resource'
 nsc-ircc.c:(.text+0xdf1d4): undefined reference to `pnp_get_resource'
 nsc-ircc.c:(.text+0xdf1ee): undefined reference to `pnp_get_resource'
 nsc-ircc.c:(.text+0xdf237): undefined reference to `pnp_get_resource'
 nsc-ircc.c:(.text+0xdf24c): undefined reference to `pnp_get_resource'
 drivers/built-in.o:nsc-ircc.c:(.text+0xdf266): more undefined references to `pnp_get_resource' follow
 make: *** [.tmp_vmlinux1] Error 1

triggered via this config:

  http://redhat.com/~mingo/misc/config-Sat_May__3_20_53_13_CEST_2008.bad

while generally most users will have PNP enabled, drivers can support
non-PNP build mode too - and most drivers implement it. That is typically
done by providing a dummy pnp_driver structure that will not probe anything.

The fallback routines in the driver will handle this dumber mode of
operation too.

This patch implements that. I have not tested whether this actually
works on real hardware so take care. It does resolve the build bug.

[ Another solution that is used by a few drivers is to exclude the driver
  in the Kconfig if PNP is disabled, via "depends on PNP", but this would
  limit the availability of the driver needlessly. ]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-05 01:04:06 -07:00
..
2008-01-28 15:10:29 -08:00
2008-04-25 02:08:05 -04:00
2008-04-25 02:08:53 -04:00
2008-03-26 00:18:44 -04:00
2007-10-17 20:23:30 -04:00
2008-03-17 08:11:03 -04:00
2008-01-28 15:04:05 -08:00
2008-01-28 15:07:12 -08:00
2007-10-10 16:51:57 -07:00
2008-03-26 00:18:43 -04:00
2007-07-10 12:41:08 -04:00
2007-11-05 17:57:30 -05:00
2008-01-28 15:07:12 -08:00
2007-10-10 16:55:27 -07:00
2008-01-28 15:03:59 -08:00
2008-03-26 00:18:43 -04:00
2007-10-10 16:51:43 -07:00
2008-04-29 01:56:14 -04:00
2008-01-31 19:27:17 -08:00
2008-05-02 16:58:18 -07:00
2008-02-28 11:51:50 -08:00
2008-02-28 11:51:50 -08:00
2008-02-28 11:57:55 -08:00
2008-01-04 00:47:04 -08:00
2008-03-26 00:18:43 -04:00
2007-02-09 16:23:17 +00:00
2008-01-18 14:44:33 -05:00
2008-02-01 20:54:03 +11:00
2007-10-10 16:51:13 -07:00
2008-04-29 08:06:27 -07:00
2007-10-10 16:51:13 -07:00
2008-01-28 15:07:59 -08:00
2008-04-29 01:56:01 -04:00
2008-03-05 18:51:19 -08:00
2007-10-19 11:53:42 -07:00
2008-04-29 08:06:27 -07:00
2008-01-28 15:07:12 -08:00
2008-02-03 04:26:12 -08:00
2007-10-10 16:50:46 -07:00
2008-03-17 08:11:41 -04:00
2008-01-28 15:05:53 -08:00
2008-04-25 02:08:51 -04:00
2008-01-28 15:04:05 -08:00
2008-01-28 15:07:12 -08:00
2007-10-10 16:51:13 -07:00
2008-01-28 15:07:12 -08:00
2007-10-19 11:53:42 -07:00
2007-04-28 11:01:05 -04:00
2008-02-03 04:28:10 -08:00
2008-03-17 07:56:33 -04:00
2008-03-26 00:18:04 -04:00
2008-03-26 00:18:00 -04:00
2007-10-23 21:28:40 -04:00
2008-01-28 15:07:56 -08:00
2008-03-05 16:34:41 -06:00
2008-02-11 10:28:31 -05:00
2008-01-28 15:11:27 -08:00
2008-01-28 15:08:00 -08:00
2008-03-17 07:56:27 -04:00
2008-01-28 15:03:59 -08:00
2008-04-29 01:55:30 -04:00
2007-10-15 14:29:48 -04:00
2008-04-16 20:41:44 -04:00
2008-04-16 20:41:35 -04:00
2008-04-27 18:19:08 +02:00
2008-01-28 15:03:59 -08:00
2007-10-16 21:10:29 -04:00
2008-02-24 00:07:39 -05:00
2008-01-28 15:11:27 -08:00
2008-04-30 08:29:47 -07:00
2008-01-28 15:03:59 -08:00
2007-05-04 17:59:08 -07:00
2007-07-16 15:02:47 +02:00
2008-04-16 20:06:50 -04:00
2007-10-10 16:51:13 -07:00
2008-02-03 04:26:15 -08:00
2008-01-28 15:03:46 -08:00
2008-03-23 03:35:12 -07:00
2008-01-28 15:07:10 -08:00
2008-01-28 15:07:12 -08:00
2008-01-28 15:07:09 -08:00
2008-02-03 04:26:14 -08:00
2008-04-17 15:31:31 -04:00
2007-10-10 16:51:34 -07:00
2007-10-10 16:51:34 -07:00
2008-05-02 16:49:50 -07:00
2006-11-22 14:57:56 +00:00
2008-04-25 02:45:23 -04:00