* [PATCH] omap_vout: fix section mismatch in probe function
@ 2011-08-26 16:10 Chase Maupin
2011-09-01 13:19 ` Maupin, Chase
0 siblings, 1 reply; 2+ messages in thread
From: Chase Maupin @ 2011-08-26 16:10 UTC (permalink / raw)
To: linux-omap; +Cc: Chase Maupin
Building the OMAP vout driver resulted in the following message:
WARNING: vmlinux.o(.data+0x38084): Section mismatch in reference
from the variable omap_vout_driver to the function
.init.text:omap_vout_probe()
The variable omap_vout_driver references
the function __init omap_vout_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name
the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
*_console
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
drivers/media/video/omap/omap_vout.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c
index b3a5ecd..9b5dad5 100644
--- a/drivers/media/video/omap/omap_vout.c
+++ b/drivers/media/video/omap/omap_vout.c
@@ -2133,7 +2133,7 @@ static int omap_vout_remove(struct platform_device *pdev)
return 0;
}
-static int __init omap_vout_probe(struct platform_device *pdev)
+static int omap_vout_probe(struct platform_device *pdev)
{
int ret = 0, i;
struct omap_overlay *ovl;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] omap_vout: fix section mismatch in probe function
2011-08-26 16:10 [PATCH] omap_vout: fix section mismatch in probe function Chase Maupin
@ 2011-09-01 13:19 ` Maupin, Chase
0 siblings, 0 replies; 2+ messages in thread
From: Maupin, Chase @ 2011-09-01 13:19 UTC (permalink / raw)
To: Maupin, Chase, linux-omap
> -----Original Message-----
> From: Maupin, Chase
> Sent: Friday, August 26, 2011 11:10 AM
> To: linux-omap@vger.kernel.org
> Cc: Maupin, Chase
> Subject: [PATCH] omap_vout: fix section mismatch in probe function
>
> Building the OMAP vout driver resulted in the following message:
>
> WARNING: vmlinux.o(.data+0x38084): Section mismatch in reference
> from the variable omap_vout_driver to the function
> .init.text:omap_vout_probe()
> The variable omap_vout_driver references
> the function __init omap_vout_probe()
> If the reference is valid then annotate the
> variable with __init* or __refdata (see linux/init.h) or name
> the variable:
> *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
> *_console
>
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Just wanted to ping on this patch. Are there any issues?
> ---
> drivers/media/video/omap/omap_vout.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/video/omap/omap_vout.c
> b/drivers/media/video/omap/omap_vout.c
> index b3a5ecd..9b5dad5 100644
> --- a/drivers/media/video/omap/omap_vout.c
> +++ b/drivers/media/video/omap/omap_vout.c
> @@ -2133,7 +2133,7 @@ static int omap_vout_remove(struct
> platform_device *pdev)
> return 0;
> }
>
> -static int __init omap_vout_probe(struct platform_device *pdev)
> +static int omap_vout_probe(struct platform_device *pdev)
> {
> int ret = 0, i;
> struct omap_overlay *ovl;
> --
> 1.7.0.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-01 13:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-26 16:10 [PATCH] omap_vout: fix section mismatch in probe function Chase Maupin
2011-09-01 13:19 ` Maupin, Chase
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.