[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130902091457.GW30088@pengutronix.de>
Date: Mon, 2 Sep 2013 11:14:57 +0200
From: Sascha Hauer <s.hauer@...gutronix.de>
To: Fabio Estevam <festevam@...il.com>
Cc: gregkh@...uxfoundation.org, p.zabel@...gutronix.de,
linux-kernel@...r.kernel.org,
Fabio Estevam <fabio.estevam@...escale.com>
Subject: Re: [PATCH] imx-drm: imx-ldb: Staticize of_get_data_mapping()
On Sun, Sep 01, 2013 at 10:11:55PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@...escale.com>
>
> Staticize of_get_data_mapping() in order to fix the following sparse warning:
>
> drivers/staging/imx-drm/imx-ldb.c:424:11: warning: symbol 'of_get_data_mapping' was not declared. Should it be static?
>
> Signed-off-by: Fabio Estevam <fabio.estevam@...escale.com>
Acked-by: Sascha Hauer <s.hauer@...gutronix.de>
Sascha
> ---
> drivers/staging/imx-drm/imx-ldb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/imx-drm/imx-ldb.c b/drivers/staging/imx-drm/imx-ldb.c
> index af733ea..b81ed41 100644
> --- a/drivers/staging/imx-drm/imx-ldb.c
> +++ b/drivers/staging/imx-drm/imx-ldb.c
> @@ -421,7 +421,7 @@ static const char *imx_ldb_bit_mappings[] = {
> [LVDS_BIT_MAP_JEIDA] = "jeida",
> };
>
> -const int of_get_data_mapping(struct device_node *np)
> +static const int of_get_data_mapping(struct device_node *np)
> {
> const char *bm;
> int ret, i;
> --
> 1.8.1.2
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists