Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1722289

Re: [PATCH][i2c-next] i2c-cht-wc: make cht_wc_i2c_adap_driver static

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH][i2c-next] i2c-cht-wc: make cht_wc_i2c_adap_driver static
Date 2017-08-29 12:10 +0200
Message-ID <ujLD3-1hQ-3@gated-at.bofh.it> (permalink)
References <uf2Ey-5e4-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Aug 16, 2017 at 10:16:59AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The structure cht_wc_i2c_adap_driver is local to the source
> and does not need to be in global scope, so make it static.
> 
> Cleans up sparse warning:
> symbol 'cht_wc_i2c_adap_driver' was not declared. Should it be static?
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied to for-next, thanks!

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH][i2c-next] i2c-cht-wc: make cht_wc_i2c_adap_driver static Wolfram Sang <wsa@the-dreams.de> - 2017-08-29 12:10 +0200

csiph-web