Re: [PATCH] platform/chrome: Make i2c_adapter_names static

From: Benson Leung
Date: Mon Nov 25 2013 - 16:25:42 EST


On Mon, Nov 25, 2013 at 1:14 PM, Olof Johansson <olof@xxxxxxxxx> wrote:
> Not used outside of the file, so declaration should be static. Picked up by
> sparse:
>
> drivers/platform/chrome/chromeos_laptop.c:44:12: warning: symbol
> 'i2c_adapter_names' was not declared. Should it be static?
>
> Signed-off-by: Olof Johansson <olof@xxxxxxxxx>
> Cc: Benson Leung <bleung@xxxxxxxxxxxx>

Reviewed-by: Benson Leung <bleung@xxxxxxxxxxxx>

Thanks,

--
Benson Leung
Software Engineer, Chrom* OS
bleung@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/