aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-11-28 13:54:42 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2005-11-28 13:54:42 -0800
commitd38f69ec46298606986c5b2cb9ef9292ca642968 (patch)
treeb7fe240709bfd970664d4e1838e9d2c96f318ae8 /driver
parented087c4bc638c8606bc06a35154016e3fa07752f (diff)
downloadpatches-d38f69ec46298606986c5b2cb9ef9292ca642968.tar.gz
usb and pci patches
Diffstat (limited to 'driver')
-rw-r--r--driver/driver-kill-hotplug-word-from-sn-and-others-fix.patch115
1 files changed, 115 insertions, 0 deletions
diff --git a/driver/driver-kill-hotplug-word-from-sn-and-others-fix.patch b/driver/driver-kill-hotplug-word-from-sn-and-others-fix.patch
new file mode 100644
index 0000000000000..5ace547c19c5f
--- /dev/null
+++ b/driver/driver-kill-hotplug-word-from-sn-and-others-fix.patch
@@ -0,0 +1,115 @@
+From pj@sgi.com Fri Nov 25 21:24:37 2005
+Date: Fri, 25 Nov 2005 20:04:26 -0800 (PST)
+From: Paul Jackson <pj@sgi.com>
+To: akpm@osdl.org, Greg Kroah-Hartman <gregkh@suse.de>
+Cc: Paul Jackson <pj@sgi.com>
+Message-Id: <20051126040426.26945.12817.sendpatchset@jackhammer.engr.sgi.com>
+Subject: [PATCH] driver kill hotplug word from sn and others fix
+
+The first of these changes s/hotplug/uevent/ was needed to
+compile sn2_defconfig (ia64/sn). The other three files
+changed are blind changes of all remaining bus_type.hotplug
+references I could find to bus_type.uevent.
+
+This patch attempts to finish similar changes made in the
+gregkh-driver-kill-hotplug-word-from-driver-core Nov 22 patch.
+
+Signed-off-by: Paul Jackson <pj@sgi.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ arch/arm/common/amba.c | 6 +++---
+ arch/ia64/sn/kernel/tiocx.c | 4 ++--
+ drivers/s390/cio/ccwgroup.c | 4 ++--
+ drivers/s390/cio/device.c | 4 ++--
+ 4 files changed, 9 insertions(+), 9 deletions(-)
+
+--- gregkh-2.6.orig/arch/ia64/sn/kernel/tiocx.c
++++ gregkh-2.6/arch/ia64/sn/kernel/tiocx.c
+@@ -65,7 +65,7 @@ static int tiocx_match(struct device *de
+
+ }
+
+-static int tiocx_hotplug(struct device *dev, char **envp, int num_envp,
++static int tiocx_uevent(struct device *dev, char **envp, int num_envp,
+ char *buffer, int buffer_size)
+ {
+ return -ENODEV;
+@@ -79,7 +79,7 @@ static void tiocx_bus_release(struct dev
+ struct bus_type tiocx_bus_type = {
+ .name = "tiocx",
+ .match = tiocx_match,
+- .hotplug = tiocx_hotplug,
++ .uevent = tiocx_uevent,
+ };
+
+ /**
+--- gregkh-2.6.orig/arch/arm/common/amba.c
++++ gregkh-2.6/arch/arm/common/amba.c
+@@ -45,7 +45,7 @@ static int amba_match(struct device *dev
+ }
+
+ #ifdef CONFIG_HOTPLUG
+-static int amba_hotplug(struct device *dev, char **envp, int nr_env, char *buf, int bufsz)
++static int amba_uevent(struct device *dev, char **envp, int nr_env, char *buf, int bufsz)
+ {
+ struct amba_device *pcdev = to_amba_device(dev);
+
+@@ -58,7 +58,7 @@ static int amba_hotplug(struct device *d
+ return 0;
+ }
+ #else
+-#define amba_hotplug NULL
++#define amba_uevent NULL
+ #endif
+
+ static int amba_suspend(struct device *dev, pm_message_t state)
+@@ -88,7 +88,7 @@ static int amba_resume(struct device *de
+ static struct bus_type amba_bustype = {
+ .name = "amba",
+ .match = amba_match,
+- .hotplug = amba_hotplug,
++ .uevent = amba_uevent,
+ .suspend = amba_suspend,
+ .resume = amba_resume,
+ };
+--- gregkh-2.6.orig/drivers/s390/cio/ccwgroup.c
++++ gregkh-2.6/drivers/s390/cio/ccwgroup.c
+@@ -45,7 +45,7 @@ ccwgroup_bus_match (struct device * dev,
+ return 0;
+ }
+ static int
+-ccwgroup_hotplug (struct device *dev, char **envp, int num_envp, char *buffer,
++ccwgroup_uevent (struct device *dev, char **envp, int num_envp, char *buffer,
+ int buffer_size)
+ {
+ /* TODO */
+@@ -55,7 +55,7 @@ ccwgroup_hotplug (struct device *dev, ch
+ static struct bus_type ccwgroup_bus_type = {
+ .name = "ccwgroup",
+ .match = ccwgroup_bus_match,
+- .hotplug = ccwgroup_hotplug,
++ .uevent = ccwgroup_uevent,
+ };
+
+ static inline void
+--- gregkh-2.6.orig/drivers/s390/cio/device.c
++++ gregkh-2.6/drivers/s390/cio/device.c
+@@ -59,7 +59,7 @@ ccw_bus_match (struct device * dev, stru
+ * Heavily modeled on pci and usb hotplug.
+ */
+ static int
+-ccw_hotplug (struct device *dev, char **envp, int num_envp,
++ccw_uevent (struct device *dev, char **envp, int num_envp,
+ char *buffer, int buffer_size)
+ {
+ struct ccw_device *cdev = to_ccwdev(dev);
+@@ -110,7 +110,7 @@ ccw_hotplug (struct device *dev, char **
+ struct bus_type ccw_bus_type = {
+ .name = "ccw",
+ .match = &ccw_bus_match,
+- .hotplug = &ccw_hotplug,
++ .uevent = &ccw_uevent,
+ };
+
+ static int io_subchannel_probe (struct device *);