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 58e998f..18a74a6 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 = {