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 0a6cea1316b4f18e4d2b68fcc03f5caf1b7ed135..52d0aa8c2e7a8d40eb21bef29a7f062c0f904017 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,