git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i2c: Fix platform driver hotplug/coldplug
[pandora-kernel.git]
/
drivers
/
i2c
/
busses
/
i2c-ocores.c
diff --git
a/drivers/i2c/busses/i2c-ocores.c
b/drivers/i2c/busses/i2c-ocores.c
index
e417c2c
..
f145692
100644
(file)
--- a/
drivers/i2c/busses/i2c-ocores.c
+++ b/
drivers/i2c/busses/i2c-ocores.c
@@
-312,6
+312,9
@@
static int __devexit ocores_i2c_remove(struct platform_device* pdev)
return 0;
}
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:ocores-i2c");
+
static struct platform_driver ocores_i2c_driver = {
.probe = ocores_i2c_probe,
.remove = __devexit_p(ocores_i2c_remove),