diff mbox

i2c: i2c-bcm-kona: Fix module build

Message ID 1385409678-4398-1-git-send-email-tim.kryger@linaro.org
State Accepted
Commit c2a3a6198e56a4ddf7cab9a0f98d1ec964292c82
Headers show

Commit Message

Tim Kryger Nov. 25, 2013, 8:01 p.m. UTC
Correct a typo that prevented the driver from being built as a module.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
---
 drivers/i2c/busses/i2c-bcm-kona.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Wolfram Sang Nov. 26, 2013, 1 p.m. UTC | #1
On Mon, Nov 25, 2013 at 12:01:18PM -0800, Tim Kryger wrote:
> Correct a typo that prevented the driver from being built as a module.
> 
> Signed-off-by: Tim Kryger <tim.kryger@linaro.org>

Applied to for-current, thanks!

Have you also tried repeated module loading/unloading?
Tim Kryger Nov. 27, 2013, 1:15 a.m. UTC | #2
On Tue, Nov 26, 2013 at 5:00 AM, Wolfram Sang <wsa@the-dreams.de> wrote:

> Have you also tried repeated module loading/unloading?

I ran a loop of insmod + rmmod 1000 times and didn't see any issues.

Thanks,
Tim Kryger
diff mbox

Patch

diff --git a/drivers/i2c/busses/i2c-bcm-kona.c b/drivers/i2c/busses/i2c-bcm-kona.c
index 036cf03..2fefc24 100644
--- a/drivers/i2c/busses/i2c-bcm-kona.c
+++ b/drivers/i2c/busses/i2c-bcm-kona.c
@@ -891,7 +891,7 @@  static const struct of_device_id bcm_kona_i2c_of_match[] = {
 	{.compatible = "brcm,kona-i2c",},
 	{},
 };
-MODULE_DEVICE_TABLE(of, kona_i2c_of_match);
+MODULE_DEVICE_TABLE(of, bcm_kona_i2c_of_match);
 
 static struct platform_driver bcm_kona_i2c_driver = {
 	.driver = {