From: Olof Johansson Date: Mon, 3 Dec 2007 04:35:25 +0000 (-0600) Subject: [POWERPC] pasemi: Fix module information for gpio-mdio X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5619965fecf5679ea32350905c54d087b27cc8ea;p=openwrt%2Fstaging%2Fblogic.git [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 --- 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 "); +MODULE_DESCRIPTION("Driver for MDIO over GPIO on PA Semi PWRficient-based boards");