summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/electra_cf.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2008-05-27 23:07:26 +0200
committerOlof Johansson <olof@lixom.net>2008-05-27 23:07:45 +0200
commitc433a1b6426880d3e23267938c3542706f3d03a6 (patch)
treeafba65d4d74024b112847f77de3003b373fa8940 /drivers/pcmcia/electra_cf.c
parent[POWERPC] iSeries: Remove unused mail address (diff)
downloadlinux-c433a1b6426880d3e23267938c3542706f3d03a6.tar.xz
linux-c433a1b6426880d3e23267938c3542706f3d03a6.zip
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,