electra_cf: Add MODULE_DEVICE_TABLE()
authorOlof Johansson <olof@lixom.net>
Tue, 27 May 2008 21:07:26 +0000 (16:07 -0500)
committerOlof Johansson <olof@lixom.net>
Tue, 27 May 2008 21:07:45 +0000 (16:07 -0500)
Add a module device table to electra_cf so that modules can be
auto-probed/loaded.

Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/pcmcia/electra_cf.c

index 0a6cea1..52d0aa8 100644 (file)
@@ -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,