]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
3c515: fix using pnp_get_resource when CONFIG_ISAPNP=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 16 May 2008 17:35:24 +0000 (10:35 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:34:34 +0000 (06:34 -0400)
commit92fbc1c146d1d358c1ecc4e38361089ff929a02c
tree0c7589e30eb2d89a0febadd1f42db9928ff4f114
parent1b0771ab3ea102ce77e9ca83abc500e542402e54
3c515: fix using pnp_get_resource when CONFIG_ISAPNP=n

3c515.c uses pnp_irq(), which calls pnp_get_resource(),
which is not defined when CONFIG_PNP=n, so in that case,
get the IRQ from a hardware register.

3c515.c:(.text+0x3adc0): undefined reference to `pnp_get_resource'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/3c515.c