From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: [PATCH] i2c driver changes for 2.5.64
Date: Thu, 13 Mar 2003 16:55 -0800 [thread overview]
Message-ID: <10476033263399@kroah.com> (raw)
In-Reply-To: <1047603324728@kroah.com>
ChangeSet 1.1113, 2003/03/13 16:37:27-08:00, greg@kroah.com
driver core: Export the legacy_bus structure for drivers to use.
drivers/base/platform.c | 3 ++-
include/linux/device.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff -Nru a/drivers/base/platform.c b/drivers/base/platform.c
--- a/drivers/base/platform.c Thu Mar 13 16:57:00 2003
+++ b/drivers/base/platform.c Thu Mar 13 16:57:00 2003
@@ -9,7 +9,7 @@
#include <linux/module.h>
#include <linux/init.h>
-static struct device legacy_bus = {
+struct device legacy_bus = {
.name = "legacy bus",
.bus_id = "legacy",
};
@@ -75,5 +75,6 @@
return bus_register(&platform_bus_type);
}
+EXPORT_SYMBOL(legacy_bus);
EXPORT_SYMBOL(platform_device_register);
EXPORT_SYMBOL(platform_device_unregister);
diff -Nru a/include/linux/device.h b/include/linux/device.h
--- a/include/linux/device.h Thu Mar 13 16:57:00 2003
+++ b/include/linux/device.h Thu Mar 13 16:57:00 2003
@@ -366,6 +366,7 @@
extern void platform_device_unregister(struct platform_device *);
extern struct bus_type platform_bus_type;
+extern struct device legacy_bus;
/* drivers/base/power.c */
extern int device_suspend(u32 state, u32 level);
next prev parent reply other threads:[~2003-03-14 1:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-14 0:50 [BK PATCH] i2c driver changes for 2.5.64 Greg KH
2003-03-14 0:55 ` [PATCH] " Greg KH
2003-03-14 0:55 ` Greg KH
2003-03-14 0:55 ` Greg KH
2003-03-14 0:55 ` Greg KH
2003-03-14 0:55 ` Greg KH
2003-03-14 0:55 ` Greg KH
2003-03-14 0:55 ` Greg KH
2003-03-14 0:55 ` Greg KH
2003-03-14 0:55 ` Greg KH [this message]
2003-03-14 0:55 ` Greg KH
2003-03-15 9:49 ` Vojtech Pavlik
2003-03-15 21:46 ` Greg KH
2003-03-15 22:06 ` Vojtech Pavlik
2003-03-14 8:28 ` Christoph Hellwig
2003-03-14 8:21 ` Christoph Hellwig
2003-03-14 8:53 ` Greg KH
2003-03-14 8:19 ` Christoph Hellwig
2003-03-14 8:56 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10476033263399@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@stimpy.netroedge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox