Skip to content

Commit

Permalink
[POWERPC] pasemi: Fix module information for gpio-mdio
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Olof Johansson committed Dec 4, 2007
1 parent 32e2b55 commit 5619965
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/powerpc/platforms/pasemi/gpio_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
{
Expand Down Expand Up @@ -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");

0 comments on commit 5619965

Please sign in to comment.