[PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()

Olof Johansson olof at lixom.net
Fri May 30 06:05:44 EST 2008


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,



More information about the Linuxppc-dev mailing list