]> err.no Git - linux-2.6/commit
[PATCH] PNP: export pnp_bus_type
authorDavid Brownell <david-b@pacbell.net>
Sat, 10 Feb 2007 09:45:13 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:28 +0000 (10:51 -0800)
commitcbcdc1debd02e1a2cbc1367ee7e0213e1041f738
treeae6041c275440944e6251d653addfde96556df43
parent83f3aa3dc5a5014cb4dc344e503b082344d8fe1e
[PATCH] PNP: export pnp_bus_type

The PNP framework doesn't export "pnp_bus_type", which is an unfortunate
exception to the policy followed by pretty much every other bus.  I noticed
this when I had to find a device in order to provide its platform_data.

Note that per advice from Arjan, the "export" scope has been been minimized to
avoid the hundred-plus bytes needed to support access from modules.  In this
case, the symbol is only needed by statically linked kernel code that lives
outside the drivers/pnp directory.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/base.h
include/linux/pnp.h