summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/electra_cf.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2008-05-28 01:07:26 +0400
committerOlof Johansson <olof@lixom.net>2008-05-28 01:07:45 +0400
commitc433a1b6426880d3e23267938c3542706f3d03a6 (patch)
treeafba65d4d74024b112847f77de3003b373fa8940 /drivers/pcmcia/electra_cf.c
parent8962cadbe7cbc4ed0fff94f56ebab505a10afd2e (diff)
downloadlinux-c433a1b6426880d3e23267938c3542706f3d03a6.tar.xz
electra_cf: Add MODULE_DEVICE_TABLE()
Add a module device table to electra_cf so that modules can be auto-probed/loaded. Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/pcmcia/electra_cf.c')
-rw-r--r--drivers/pcmcia/electra_cf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c
index 0a6cea1316b4..52d0aa8c2e7a 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,