* Compile error in i2c-bcm-kona.c
@ 2013-11-25 5:11 ` Guenter Roeck
0 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2013-11-25 5:11 UTC (permalink / raw)
To: Wolfram Sang
Cc: Tim Kryger, Matt Porter, Markus Mayer,
linux-i2c-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Upstream HEAD, arm allmodconfig:
drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: '__mod_of_device_table' aliased to undefined symbol 'kona_i2c_of_match'
make[3]: *** [drivers/i2c/busses/i2c-bcm-kona.o] Error 1
make[2]: *** [drivers/i2c/busses] Error 2
make[1]: *** [drivers/i2c] Error 2
make[1]: *** Waiting for unfinished jobs....
Source:
static const struct of_device_id bcm_kona_i2c_of_match[] = {
{.compatible = "brcm,kona-i2c",},
{},
};
MODULE_DEVICE_TABLE(of, kona_i2c_of_match);
Makes me wonder how this was tested :-(.
Guenter
^ permalink raw reply [flat|nested] 4+ messages in thread* Compile error in i2c-bcm-kona.c
@ 2013-11-25 5:11 ` Guenter Roeck
0 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2013-11-25 5:11 UTC (permalink / raw)
To: Wolfram Sang
Cc: Tim Kryger, Matt Porter, Markus Mayer, linux-i2c,
linux-kernel@vger.kernel.org
Upstream HEAD, arm allmodconfig:
drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: '__mod_of_device_table' aliased to undefined symbol 'kona_i2c_of_match'
make[3]: *** [drivers/i2c/busses/i2c-bcm-kona.o] Error 1
make[2]: *** [drivers/i2c/busses] Error 2
make[1]: *** [drivers/i2c] Error 2
make[1]: *** Waiting for unfinished jobs....
Source:
static const struct of_device_id bcm_kona_i2c_of_match[] = {
{.compatible = "brcm,kona-i2c",},
{},
};
MODULE_DEVICE_TABLE(of, kona_i2c_of_match);
Makes me wonder how this was tested :-(.
Guenter
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <5292DBF1.7040709-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>]
* Re: Compile error in i2c-bcm-kona.c
2013-11-25 5:11 ` Guenter Roeck
@ 2013-11-25 17:06 ` Tim Kryger
-1 siblings, 0 replies; 4+ messages in thread
From: Tim Kryger @ 2013-11-25 17:06 UTC (permalink / raw)
To: Guenter Roeck
Cc: Wolfram Sang, Matt Porter, Markus Mayer, Linux I2C List,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Sun, Nov 24, 2013 at 9:11 PM, Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org> wrote:
> Upstream HEAD, arm allmodconfig:
>
> drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: '__mod_of_device_table'
> aliased to undefined symbol 'kona_i2c_of_match'
> make[3]: *** [drivers/i2c/busses/i2c-bcm-kona.o] Error 1
> make[2]: *** [drivers/i2c/busses] Error 2
> make[1]: *** [drivers/i2c] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> Source:
>
> static const struct of_device_id bcm_kona_i2c_of_match[] = {
> {.compatible = "brcm,kona-i2c",},
> {},
> };
> MODULE_DEVICE_TABLE(of, kona_i2c_of_match);
>
> Makes me wonder how this was tested :-(.
>
> Guenter
The statically linked driver was tested extensively but I forgot to
test it as a module.
Please accept my sincerest apologies for this oversight.
I will prepare, test, and post a fix shortly.
-Tim
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Compile error in i2c-bcm-kona.c
@ 2013-11-25 17:06 ` Tim Kryger
0 siblings, 0 replies; 4+ messages in thread
From: Tim Kryger @ 2013-11-25 17:06 UTC (permalink / raw)
To: Guenter Roeck
Cc: Wolfram Sang, Matt Porter, Markus Mayer, Linux I2C List,
linux-kernel@vger.kernel.org
On Sun, Nov 24, 2013 at 9:11 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> Upstream HEAD, arm allmodconfig:
>
> drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: '__mod_of_device_table'
> aliased to undefined symbol 'kona_i2c_of_match'
> make[3]: *** [drivers/i2c/busses/i2c-bcm-kona.o] Error 1
> make[2]: *** [drivers/i2c/busses] Error 2
> make[1]: *** [drivers/i2c] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> Source:
>
> static const struct of_device_id bcm_kona_i2c_of_match[] = {
> {.compatible = "brcm,kona-i2c",},
> {},
> };
> MODULE_DEVICE_TABLE(of, kona_i2c_of_match);
>
> Makes me wonder how this was tested :-(.
>
> Guenter
The statically linked driver was tested extensively but I forgot to
test it as a module.
Please accept my sincerest apologies for this oversight.
I will prepare, test, and post a fix shortly.
-Tim
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-25 17:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 5:11 Compile error in i2c-bcm-kona.c Guenter Roeck
2013-11-25 5:11 ` Guenter Roeck
[not found] ` <5292DBF1.7040709-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-11-25 17:06 ` Tim Kryger
2013-11-25 17:06 ` Tim Kryger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.