aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2008-05-27 16:07:26 -0500
committerOlof Johansson <olof@lixom.net>2008-05-27 16:07:45 -0500
commitc433a1b6426880d3e23267938c3542706f3d03a6 (patch)
treeafba65d4d74024b112847f77de3003b373fa8940
parent8962cadbe7cbc4ed0fff94f56ebab505a10afd2e (diff)
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>
-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 0a6cea1316b..52d0aa8c2e7 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,