i2c: i2c-bcm-kona: Fix module build
authorTim Kryger <tim.kryger@linaro.org>
Mon, 25 Nov 2013 20:01:18 +0000 (12:01 -0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 26 Nov 2013 13:00:57 +0000 (14:00 +0100)
Correct a typo that prevented the driver from being built as a module.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-bcm-kona.c

index 58e998ffb40b7c3e37eb138005be3ae2d0ab5a08..18a74a6751a97101568cb5d084b0f840e19322f7 100644 (file)
@@ -890,7 +890,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 = {