From: olof@lixom.net (Olof Johansson)
To: linux-pcmcia@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, hch@lst.de
Subject: [PATCH v3] pcmcia: export pcmcia_bus_type (GPL-only)
Date: Mon, 14 May 2007 23:36:28 -0500 [thread overview]
Message-ID: <20070515043628.GA6648@lixom.net> (raw)
In-Reply-To: <20070512180658.GA14291@lixom.net>
Export pcmcia_bus_type so module-based drivers can register bus notifiers.
Signed-off-by: Olof Johansson <olof@lixom.net>
Index: powerpc/drivers/pcmcia/ds.c
===================================================================
--- powerpc.orig/drivers/pcmcia/ds.c
+++ powerpc/drivers/pcmcia/ds.c
@@ -1404,6 +1404,7 @@ struct bus_type pcmcia_bus_type = {
.suspend = pcmcia_dev_suspend,
.resume = pcmcia_dev_resume,
};
+EXPORT_SYMBOL_GPL(pcmcia_bus_type);
static int __init init_pcmcia_bus(void)
Index: powerpc/include/pcmcia/ss.h
===================================================================
--- powerpc.orig/include/pcmcia/ss.h
+++ powerpc/include/pcmcia/ss.h
@@ -298,6 +298,7 @@ extern int pcmcia_register_socket(struct
extern void pcmcia_unregister_socket(struct pcmcia_socket *socket);
extern struct class pcmcia_socket_class;
+extern struct bus_type pcmcia_bus_type;
/* socket drivers are expected to use these callbacks in their .drv struct */
extern int pcmcia_socket_dev_suspend(struct device *dev, pm_message_t state);
prev parent reply other threads:[~2007-05-15 4:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-12 15:33 [PATCH] pcmcia: export pcmcia_bus_type Olof Johansson
2007-05-12 18:06 ` [PATCH v2] " Olof Johansson
2007-05-13 21:20 ` Christoph Hellwig
2007-05-13 21:40 ` Olof Johansson
2007-05-13 23:10 ` Russell King
2007-05-13 23:51 ` Olof Johansson
2007-05-15 4:36 ` Olof Johansson [this message]
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=20070515043628.GA6648@lixom.net \
--to=olof@lixom.net \
--cc=akpm@osdl.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pcmcia@lists.infradead.org \
/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