* - pnp-export-pnp_bus_type.patch removed from -mm tree
@ 2007-02-11 22:51 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2007-02-11 22:51 UTC (permalink / raw)
To: david-b, ambx1, dbrownell, mm-commits
The patch titled
PNP: export pnp_bus_type
has been removed from the -mm tree. Its filename was
pnp-export-pnp_bus_type.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: PNP: export pnp_bus_type
From: David Brownell <david-b@pacbell.net>
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>
---
drivers/pnp/base.h | 1 -
include/linux/pnp.h | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
diff -puN drivers/pnp/base.h~pnp-export-pnp_bus_type drivers/pnp/base.h
--- a/drivers/pnp/base.h~pnp-export-pnp_bus_type
+++ a/drivers/pnp/base.h
@@ -1,4 +1,3 @@
-extern struct bus_type pnp_bus_type;
extern spinlock_t pnp_lock;
void *pnp_alloc(long size);
int pnp_interface_attach_device(struct pnp_dev *dev);
diff -puN include/linux/pnp.h~pnp-export-pnp_bus_type include/linux/pnp.h
--- a/include/linux/pnp.h~pnp-export-pnp_bus_type
+++ a/include/linux/pnp.h
@@ -352,6 +352,8 @@ struct pnp_protocol {
(dev) = protocol_to_pnp_dev((dev)->protocol_list.next))
+extern struct bus_type pnp_bus_type;
+
#if defined(CONFIG_PNP)
/* device management */
_
Patches currently in -mm which might be from david-b@pacbell.net are
origin.patch
git-acpi.patch
git-avr32.patch
git-md-accel.patch
8250-make-probing-for-txen-bug-a-config-option.patch
spi-kconfig-fix.patch
spi-controller-driver-for-omap-microwire.patch
spi-controller-driver-for-omap-microwire-update.patch
spi-controller-driver-for-omap-microwire-update-fix.patch
spi-freescale-imx-spi-controller-driver-v5.patch
spi-doc-clarifications.patch
rtc-gets-sysfs-wakealarm-attribute.patch
spi-eeprom-driver.patch
spi-eeprom-driver-cleanups.patch
gpio-core.patch
omap-gpio-wrappers.patch
at91-gpio-wrappers.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-11 22:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-11 22:51 - pnp-export-pnp_bus_type.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.