linux/drivers/staging/dt3155
Randy Dunlap 74a920139a staging: fix dt3155 build
When the dt3155 driver is built-in (not as a loadable module),
these build errors happen:

  drivers/staging/dt3155/dt3155_drv.c:1047: error: implicit declaration of function 'request_irq'
  drivers/staging/dt3155/dt3155_drv.c:1048: error: 'IRQF_SHARED' undeclared (first use in this function)
  drivers/staging/dt3155/dt3155_drv.c:1048: error: 'IRQF_DISABLED' undeclared (first use in this function)
  drivers/staging/dt3155/dt3155_drv.c:1091: error: implicit declaration of function 'free_irq'

so remove the #ifdef MODULE check since it's not needed.  Also remove
the CONFIG_PCI check since the Kconfig file already requires that.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Scott Smedley <ss@aao.gov.au>
Tested-by: Jan III Sobieski <jan3sobi3ski@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-04-22 07:20:00 -07:00
..
allocator.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
allocator.h staging: dt3155: revert u_long to u64 usage 2010-03-03 16:43:07 -08:00
allocator.README
dt3155_drv.c staging: fix dt3155 build 2010-04-22 07:20:00 -07:00
dt3155_drv.h Staging: dt3155: replace u_int and u_long usage 2010-03-03 16:42:56 -08:00
dt3155_io.c staging: dt3155: revert u_long to u64 usage 2010-03-03 16:43:07 -08:00
dt3155_io.h staging: dt3155: revert u_long to u64 usage 2010-03-03 16:43:07 -08:00
dt3155_isr.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dt3155_isr.h staging: dt3155: revert u_long to u64 usage 2010-03-03 16:43:07 -08:00
dt3155.h staging: dt3155: revert u_long to u64 usage 2010-03-03 16:43:07 -08:00
dt3155.sysvinit
Kconfig
Makefile
TODO