Messages in this thread Patch in this message | | | From | Vincent Stehlé <> | Subject | [PATCH] i2c: bcm-kona: fix module device table symbol | Date | Wed, 27 Nov 2013 23:38:40 +0100 |
| |
This fixes the following compilation error when compiling in module:
drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: ‘__mod_of_device_table’ aliased to undefined symbol ‘kona_i2c_of_match’
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Wolfram Sang <wsa@the-dreams.de> Cc: trivial@kernel.org ---
Hi,
Compilation breakage can be seen on mainline with e.g. arm allmodconfig.
Best regards,
V.
drivers/i2c/busses/i2c-bcm-kona.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 = { -- 1.8.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |