Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762846Ab3IECn1 (ORCPT ); Wed, 4 Sep 2013 22:43:27 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:19571 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935440Ab3IECnZ (ORCPT ); Wed, 4 Sep 2013 22:43:25 -0400 X-AuditID: cbfee690-b7f3b6d000007a15-58-5227efcc2ad9 From: Jingoo Han To: "'Andrew Morton'" Cc: linux-kernel@vger.kernel.org, "'Richard Purdie'" , "'Milo Kim'" , "'Daniel Jeong'" , "'Jingoo Han'" References: <002101cea9e1$34a38330$9dea8990$%han@samsung.com> In-reply-to: <002101cea9e1$34a38330$9dea8990$%han@samsung.com> Subject: [PATCH 5/6] backlight: lp8788: Staticize 'default_bl_config' Date: Thu, 05 Sep 2013 11:43:24 +0900 Message-id: <002601cea9e1$b103b8f0$130b2ad0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac6p4TRpKe++09SiQwq9N1m2ivIIowAAGZtA Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsVy+t8zY90z79WDDHael7OYs34Nm8Xk3V2s FpcXXgISu+awWSz/tY7FYveup6wObB47Z91l9zgx4zeLx575P1g9+rasYvQ4fmM7k8fnTXIB bFFcNimpOZllqUX6dglcGZN3z2QqOMxWsafrAHMD4yHWLkZODgkBE4kruyewQdhiEhfurQey uTiEBJYxShxpfccCU7R76jaoxCJGiXn/f4ElhAR+MUpMuqQCYrMJqEl8+XKYvYuRg0NEQF+i rUUDpJ5ZYCujxOaPu1kh6m0lzi+ZDbaNU8BO4tOPvYwgtrCAq8T3ib1gNSwCqhIvz98Gq+EF qj9xZiYrhC0o8WPyPbC9zAJaEut3HmeCsOUlNq95ywyyV0JAXeLRX12QsIiAkc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rgUK8KYmVValF +fFFpTmpxYcYk4EencgsJZqcD0xbeSXxhsYmZkaWRmYWRibm5qQJK4nzHmy1DhQSSE8sSc1O TS1ILYLZwsTBKdXA6Gzr+v/qnddLOL2yf2Xu+XWIa13wtMzVAde8dXs9bLbo7i/5+3ra3FUX 3/47Oi3UWyIn7SvrZmsFwb0mnKd37tsptOi68cMNOvwWTkcn3o7ZvNndPVrG8E3P2eitGr6z Mhq6DvKcuTFvcfmTVYVlUWdm3nW9veer/Syt7sPLFSseyqcwOD9SvqHEUpyRaKjFXFScCACU gXrxUQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1054 Lines: 31 Fix the following sparse warning: drivers/video/backlight/lp8788_bl.c:55:25: warning: symbol 'default_bl_config' was not declared. Should it be static? Signed-off-by: Jingoo Han --- drivers/video/backlight/lp8788_bl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/lp8788_bl.c b/drivers/video/backlight/lp8788_bl.c index 980855e..e49905d 100644 --- a/drivers/video/backlight/lp8788_bl.c +++ b/drivers/video/backlight/lp8788_bl.c @@ -52,7 +52,7 @@ struct lp8788_bl { struct pwm_device *pwm; }; -struct lp8788_bl_config default_bl_config = { +static struct lp8788_bl_config default_bl_config = { .bl_mode = LP8788_BL_REGISTER_ONLY, .dim_mode = LP8788_DIM_EXPONENTIAL, .full_scale = LP8788_FULLSCALE_1900uA, -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/