linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()
@ 2008-05-29 20:05 Olof Johansson
  2008-05-30  5:25 ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Olof Johansson @ 2008-05-29 20:05 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: pasemi-linux

electra_cf: Add MODULE_DEVICE_TABLE()
    
Add a module device table to electra_cf so that modules can be
auto-probed/loaded.
    
[will be included in git pull request later today]

diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c
index 0a6cea1..52d0aa8 100644
--- a/drivers/pcmcia/electra_cf.c
+++ b/drivers/pcmcia/electra_cf.c
@@ -352,6 +352,7 @@ static struct of_device_id electra_cf_match[] = {
 	},
 	{},
 };
+MODULE_DEVICE_TABLE(of, electra_cf_match);
 
 static struct of_platform_driver electra_cf_driver = {
 	.name	   = (char *)driver_name,

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-30 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 20:05 [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE() Olof Johansson
2008-05-30  5:25 ` Stephen Rothwell
2008-05-30 15:07   ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).