The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Vincent Stehlé" <vincent.stehle@laposte.net>
To: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: "Vincent Stehlé" <vincent.stehle@laposte.net>,
	"Wolfram Sang" <wsa@the-dreams.de>,
	trivial@kernel.org
Subject: [PATCH] i2c: bcm-kona: fix module device table symbol
Date: Wed, 27 Nov 2013 23:38:40 +0100	[thread overview]
Message-ID: <1385591920-7714-1-git-send-email-vincent.stehle@laposte.net> (raw)

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


             reply	other threads:[~2013-11-27 22:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 22:38 Vincent Stehlé [this message]
2013-11-28  7:52 ` [PATCH] i2c: bcm-kona: fix module device table symbol Wolfram Sang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1385591920-7714-1-git-send-email-vincent.stehle@laposte.net \
    --to=vincent.stehle@laposte.net \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    --cc=wsa@the-dreams.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox