Commit c2a3a619 authored by Tim Kryger's avatar Tim Kryger Committed by Wolfram Sang

i2c: i2c-bcm-kona: Fix module build

Correct a typo that prevented the driver from being built as a module.
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarTim Kryger <tim.kryger@linaro.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 4e4844cc
...@@ -890,7 +890,7 @@ static const struct of_device_id bcm_kona_i2c_of_match[] = { ...@@ -890,7 +890,7 @@ static const struct of_device_id bcm_kona_i2c_of_match[] = {
{.compatible = "brcm,kona-i2c",}, {.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 = { static struct platform_driver bcm_kona_i2c_driver = {
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment