summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pasemi
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2007-12-03 07:35:25 +0300
committerOlof Johansson <olof@lixom.net>2007-12-04 03:02:34 +0300
commit5619965fecf5679ea32350905c54d087b27cc8ea (patch)
treee1c07a652cf9bf2fb6c7bf7d7c346b0b50d80bda /arch/powerpc/platforms/pasemi
parent32e2b55eec7116a859b384dbcc4b52a54a156869 (diff)
downloadlinux-5619965fecf5679ea32350905c54d087b27cc8ea.tar.xz
[POWERPC] pasemi: Fix module information for gpio-mdio
Fix up the module information for gpio-mdio, it wouldn't load because of lacking license, and wouldn't auto-load because of missing MODULE_DEVICE_TABLE. Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/powerpc/platforms/pasemi')
-rw-r--r--arch/powerpc/platforms/pasemi/gpio_mdio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pasemi/gpio_mdio.c b/arch/powerpc/platforms/pasemi/gpio_mdio.c
index b0298045df7e..04a8686e6084 100644
--- a/arch/powerpc/platforms/pasemi/gpio_mdio.c
+++ b/arch/powerpc/platforms/pasemi/gpio_mdio.c
@@ -318,6 +318,7 @@ static struct of_device_id gpio_mdio_match[] =
},
{},
};
+MODULE_DEVICE_TABLE(of, gpio_mdio_match);
static struct of_platform_driver gpio_mdio_driver =
{
@@ -356,3 +357,7 @@ void gpio_mdio_exit(void)
iounmap(gpio_regs);
}
module_exit(gpio_mdio_exit);
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Olof Johansson <olof@lixom.net>");
+MODULE_DESCRIPTION("Driver for MDIO over GPIO on PA Semi PWRficient-based boards");