* [PATCH] i2c: bcm-kona: fix module device table symbol
@ 2013-11-27 22:38 Vincent Stehlé
2013-11-28 7:52 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Stehlé @ 2013-11-27 22:38 UTC (permalink / raw)
To: linux-i2c, linux-kernel; +Cc: Vincent Stehlé, Wolfram Sang, trivial
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: bcm-kona: fix module device table symbol
2013-11-27 22:38 [PATCH] i2c: bcm-kona: fix module device table symbol Vincent Stehlé
@ 2013-11-28 7:52 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2013-11-28 7:52 UTC (permalink / raw)
To: Vincent Stehlé; +Cc: linux-i2c, linux-kernel, trivial
[-- Attachment #1: Type: text/plain, Size: 458 bytes --]
On Wed, Nov 27, 2013 at 11:38:40PM +0100, Vincent Stehlé wrote:
> 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
A fix is in my pull request for Linus today.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-28 7:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-27 22:38 [PATCH] i2c: bcm-kona: fix module device table symbol Vincent Stehlé
2013-11-28 7:52 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).