android_kernel_motorola_sm6225/drivers/pnp
Adrian Bunk b449f63c8c [PATCH] drivers/pnp/: cleanups
This patch contains the following possible cleanups:
- make needlessly global code static
- #if 0 the following unused global function:
  - core.c: pnp_remove_device
- #if 0 the following unneeded EXPORT_SYMBOL's:
  - card.c: pnp_add_card
  - card.c: pnp_remove_card
  - card.c: pnp_add_card_device
  - card.c: pnp_remove_card_device
  - card.c: pnp_add_card_id
  - core.c: pnp_register_protocol
  - core.c: pnp_unregister_protocol
  - core.c: pnp_add_device
  - core.c: pnp_remove_device
  - pnpacpi/core.c: pnpacpi_protocol
  - driver.c: pnp_add_id
  - isapnp/core.c: isapnp_read_byte
  - manager.c: pnp_auto_config_dev
  - resource.c: pnp_register_dependent_option
  - resource.c: pnp_register_independent_option
  - resource.c: pnp_register_irq_resource
  - resource.c: pnp_register_dma_resource
  - resource.c: pnp_register_port_resource
  - resource.c: pnp_register_mem_resource

Note that this patch #if 0's exactly one functions and removes no
functions.  Most it does is the #if 0 of EXPORT_SYMBOL's, so if any modular
code will use any of them, re-adding will be trivial.

Modular ISAPnP might be interesting in some cases, but this is more legacy
code.  If someone would work on it to sort all the issues out (starting
with the point that most users of __ISAPNP__ will have to be fixed)
re-enabling the required EXPORT_SYMBOL's won't be hard for him.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:54:09 -08:00
..
isapnp [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
pnpacpi [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
pnpbios [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
base.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
card.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
core.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
driver.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
interface.c [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks 2005-06-20 15:15:34 -07:00
Kconfig [ACPI] delete CONFIG_ACPI_BUS 2005-08-24 12:11:34 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
manager.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
quirks.c [PATCH] PNP: make pnp_dbg conditional directly on CONFIG_PNP_DEBUG 2005-09-07 16:57:25 -07:00
resource.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
support.c [PATCH] PNP: make pnp_dbg conditional directly on CONFIG_PNP_DEBUG 2005-09-07 16:57:25 -07:00
system.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00