pasemi: Fix module information for gpio-mdio
PATCH 1/1 pasemi: Fix module information for gpio-mdio
[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.
arch/powerpc/platforms/pasemi/gpio_mdio.c +5 -0
@@ -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 <[email protected]>" ); +MODULE_DESCRIPTION ("Driver for MDIO over GPIO on PA Semi PWRficient-based boards" );
Quoted 3 lines · Olof Johansson
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.
Needed for 2.6.24?
Paul.
Quoted 7 lines · Paul Mackerras
Quoted 3 lines · Olof Johansson
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.Needed for 2.6.24?
It's annoying but not critical, and the workaround is simple (build it in). I've already queued it up in my for-2.6.25 git branch, that should be sufficient.
Thanks,
Olof