* [PATCH] arm: omap3: cm-t3517: fix section mismatch warning
@ 2011-04-26 20:41 Igor Grinberg
2011-05-03 15:30 ` Igor Grinberg
0 siblings, 1 reply; 5+ messages in thread
From: Igor Grinberg @ 2011-04-26 20:41 UTC (permalink / raw)
To: linux-arm-kernel
WARNING: arch/arm/mach-omap2/built-in.o(.text+0x11014): Section mismatch
in reference from the function cm_t3517_init_usbh() to the (unknown
reference) .init.data:(unknown)
The function cm_t3517_init_usbh() references
the (unknown reference) __initdata (unknown).
This is often because cm_t3517_init_usbh lacks a __initdata
annotation or the annotation of (unknown) is wrong.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
arch/arm/mach-omap2/board-cm-t3517.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c
index a27e3ee..802cb60 100644
--- a/arch/arm/mach-omap2/board-cm-t3517.c
+++ b/arch/arm/mach-omap2/board-cm-t3517.c
@@ -178,7 +178,7 @@ static struct usbhs_omap_board_data cm_t3517_ehci_pdata __initdata = {
.reset_gpio_port[2] = -EINVAL,
};
-static int cm_t3517_init_usbh(void)
+static int __init cm_t3517_init_usbh(void)
{
int err;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH] arm: omap3: cm-t3517: fix section mismatch warning
2011-04-26 20:41 [PATCH] arm: omap3: cm-t3517: fix section mismatch warning Igor Grinberg
@ 2011-05-03 15:30 ` Igor Grinberg
2011-05-11 7:37 ` Igor Grinberg
0 siblings, 1 reply; 5+ messages in thread
From: Igor Grinberg @ 2011-05-03 15:30 UTC (permalink / raw)
To: linux-arm-kernel
ping!
Just to make sure you haven't missed this one liner ;)
On 04/26/11 23:41, Igor Grinberg wrote:
> WARNING: arch/arm/mach-omap2/built-in.o(.text+0x11014): Section mismatch
> in reference from the function cm_t3517_init_usbh() to the (unknown
> reference) .init.data:(unknown)
> The function cm_t3517_init_usbh() references
> the (unknown reference) __initdata (unknown).
> This is often because cm_t3517_init_usbh lacks a __initdata
> annotation or the annotation of (unknown) is wrong.
>
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
> ---
> arch/arm/mach-omap2/board-cm-t3517.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c
> index a27e3ee..802cb60 100644
> --- a/arch/arm/mach-omap2/board-cm-t3517.c
> +++ b/arch/arm/mach-omap2/board-cm-t3517.c
> @@ -178,7 +178,7 @@ static struct usbhs_omap_board_data cm_t3517_ehci_pdata __initdata = {
> .reset_gpio_port[2] = -EINVAL,
> };
>
> -static int cm_t3517_init_usbh(void)
> +static int __init cm_t3517_init_usbh(void)
> {
> int err;
>
--
Regards,
Igor.
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH] arm: omap3: cm-t3517: fix section mismatch warning
2011-05-03 15:30 ` Igor Grinberg
@ 2011-05-11 7:37 ` Igor Grinberg
2011-05-16 13:36 ` Igor Grinberg
0 siblings, 1 reply; 5+ messages in thread
From: Igor Grinberg @ 2011-05-11 7:37 UTC (permalink / raw)
To: linux-arm-kernel
ping x2
Can this one get into .39?
On 05/03/11 18:30, Igor Grinberg wrote:
> ping!
>
> Just to make sure you haven't missed this one liner ;)
>
>
> On 04/26/11 23:41, Igor Grinberg wrote:
>> WARNING: arch/arm/mach-omap2/built-in.o(.text+0x11014): Section mismatch
>> in reference from the function cm_t3517_init_usbh() to the (unknown
>> reference) .init.data:(unknown)
>> The function cm_t3517_init_usbh() references
>> the (unknown reference) __initdata (unknown).
>> This is often because cm_t3517_init_usbh lacks a __initdata
>> annotation or the annotation of (unknown) is wrong.
>>
>> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
>> ---
>> arch/arm/mach-omap2/board-cm-t3517.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c
>> index a27e3ee..802cb60 100644
>> --- a/arch/arm/mach-omap2/board-cm-t3517.c
>> +++ b/arch/arm/mach-omap2/board-cm-t3517.c
>> @@ -178,7 +178,7 @@ static struct usbhs_omap_board_data cm_t3517_ehci_pdata __initdata = {
>> .reset_gpio_port[2] = -EINVAL,
>> };
>>
>> -static int cm_t3517_init_usbh(void)
>> +static int __init cm_t3517_init_usbh(void)
>> {
>> int err;
>>
--
Regards,
Igor.
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH] arm: omap3: cm-t3517: fix section mismatch warning
2011-05-11 7:37 ` Igor Grinberg
@ 2011-05-16 13:36 ` Igor Grinberg
2011-05-31 10:36 ` Tony Lindgren
0 siblings, 1 reply; 5+ messages in thread
From: Igor Grinberg @ 2011-05-16 13:36 UTC (permalink / raw)
To: linux-arm-kernel
ping x3
It has been 3 weeks already...
On 05/11/11 10:37, Igor Grinberg wrote:
> ping x2
>
>
> Can this one get into .39?
>
>
> On 05/03/11 18:30, Igor Grinberg wrote:
>
>> ping!
>>
>> Just to make sure you haven't missed this one liner ;)
>>
>>
>> On 04/26/11 23:41, Igor Grinberg wrote:
>>> WARNING: arch/arm/mach-omap2/built-in.o(.text+0x11014): Section mismatch
>>> in reference from the function cm_t3517_init_usbh() to the (unknown
>>> reference) .init.data:(unknown)
>>> The function cm_t3517_init_usbh() references
>>> the (unknown reference) __initdata (unknown).
>>> This is often because cm_t3517_init_usbh lacks a __initdata
>>> annotation or the annotation of (unknown) is wrong.
>>>
>>> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
>>> ---
>>> arch/arm/mach-omap2/board-cm-t3517.c | 2 +-
>>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c
>>> index a27e3ee..802cb60 100644
>>> --- a/arch/arm/mach-omap2/board-cm-t3517.c
>>> +++ b/arch/arm/mach-omap2/board-cm-t3517.c
>>> @@ -178,7 +178,7 @@ static struct usbhs_omap_board_data cm_t3517_ehci_pdata __initdata = {
>>> .reset_gpio_port[2] = -EINVAL,
>>> };
>>>
>>> -static int cm_t3517_init_usbh(void)
>>> +static int __init cm_t3517_init_usbh(void)
>>> {
>>> int err;
>>>
--
Regards,
Igor.
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH] arm: omap3: cm-t3517: fix section mismatch warning
2011-05-16 13:36 ` Igor Grinberg
@ 2011-05-31 10:36 ` Tony Lindgren
0 siblings, 0 replies; 5+ messages in thread
From: Tony Lindgren @ 2011-05-31 10:36 UTC (permalink / raw)
To: linux-arm-kernel
* Igor Grinberg <grinberg@compulab.co.il> [110516 06:32]:
> ping x3
>
>
> It has been 3 weeks already...
>
>
> On 05/11/11 10:37, Igor Grinberg wrote:
>
> > ping x2
> >
> >
> > Can this one get into .39?
> >
> >
> > On 05/03/11 18:30, Igor Grinberg wrote:
> >
> >> ping!
> >>
> >> Just to make sure you haven't missed this one liner ;)
For the archives, applying into fixes finally.
Regards,
Tony
> >>
> >>
> >> On 04/26/11 23:41, Igor Grinberg wrote:
> >>> WARNING: arch/arm/mach-omap2/built-in.o(.text+0x11014): Section mismatch
> >>> in reference from the function cm_t3517_init_usbh() to the (unknown
> >>> reference) .init.data:(unknown)
> >>> The function cm_t3517_init_usbh() references
> >>> the (unknown reference) __initdata (unknown).
> >>> This is often because cm_t3517_init_usbh lacks a __initdata
> >>> annotation or the annotation of (unknown) is wrong.
> >>>
> >>> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
> >>> ---
> >>> arch/arm/mach-omap2/board-cm-t3517.c | 2 +-
> >>> 1 files changed, 1 insertions(+), 1 deletions(-)
> >>>
> >>> diff --git a/arch/arm/mach-omap2/board-cm-t3517.c b/arch/arm/mach-omap2/board-cm-t3517.c
> >>> index a27e3ee..802cb60 100644
> >>> --- a/arch/arm/mach-omap2/board-cm-t3517.c
> >>> +++ b/arch/arm/mach-omap2/board-cm-t3517.c
> >>> @@ -178,7 +178,7 @@ static struct usbhs_omap_board_data cm_t3517_ehci_pdata __initdata = {
> >>> .reset_gpio_port[2] = -EINVAL,
> >>> };
> >>>
> >>> -static int cm_t3517_init_usbh(void)
> >>> +static int __init cm_t3517_init_usbh(void)
> >>> {
> >>> int err;
> >>>
>
> --
> Regards,
> Igor.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-05-31 10:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 20:41 [PATCH] arm: omap3: cm-t3517: fix section mismatch warning Igor Grinberg
2011-05-03 15:30 ` Igor Grinberg
2011-05-11 7:37 ` Igor Grinberg
2011-05-16 13:36 ` Igor Grinberg
2011-05-31 10:36 ` Tony Lindgren
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).