lkml.org 
[lkml]   [2013]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] extcon: max8997: Make max8997_extcon_cable static
On 01/29/2013 06:40 PM, Sachin Kamat wrote:
> 'max8997_extcon_cable' is used only in this file. Hence make it static.
>
> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> ---
> drivers/extcon/extcon-max8997.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c
> index df9358e..7039541 100644
> --- a/drivers/extcon/extcon-max8997.c
> +++ b/drivers/extcon/extcon-max8997.c
> @@ -109,7 +109,7 @@ struct max8997_muic_info {
> struct extcon_dev *edev;
> };
>
> -const char *max8997_extcon_cable[] = {
> +static const char *max8997_extcon_cable[] = {
> [0] = "USB",
> [1] = "USB-Host",
> [2] = "TA",
Patches 1-3 applied.

Thanks,
Chanwoo Choi


\
 
 \ /
  Last update: 2013-02-04 02:41    [W:0.036 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site