diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-21 16:33:38 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-18 23:15:32 +0000 |
commit | ddb1e04a35846b6c5b6039e92555dafaf6ee03d2 (patch) | |
tree | ae9136843aecf1a80c3f62482af6ff9633ec77ca /drivers | |
parent | 2f7510c6070932371e0b842a5470ce7190dcf162 (diff) | |
download | linux-ddb1e04a35846b6c5b6039e92555dafaf6ee03d2.tar.gz linux-ddb1e04a35846b6c5b6039e92555dafaf6ee03d2.tar.bz2 linux-ddb1e04a35846b6c5b6039e92555dafaf6ee03d2.zip |
MFD: ucb1x00-core: add .owner initializer and module alias
Add a .owner initializer to the UCB1x00 mcp driver structure, and
set an appropriate module alias to identify this driver.
Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/ucb1x00-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c index 42eee633b864..c2757c11ce7b 100644 --- a/drivers/mfd/ucb1x00-core.c +++ b/drivers/mfd/ucb1x00-core.c @@ -714,6 +714,7 @@ static int ucb1x00_resume(struct mcp *mcp) static struct mcp_driver ucb1x00_driver = { .drv = { .name = "ucb1x00", + .owner = THIS_MODULE, }, .probe = ucb1x00_probe, .remove = ucb1x00_remove, @@ -757,6 +758,7 @@ EXPORT_SYMBOL(ucb1x00_disable_irq); EXPORT_SYMBOL(ucb1x00_register_driver); EXPORT_SYMBOL(ucb1x00_unregister_driver); +MODULE_ALIAS("mcp:ucb1x00"); MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>"); MODULE_DESCRIPTION("UCB1x00 core driver"); MODULE_LICENSE("GPL"); |