OSDN Git Service

i2c-cht-wc: make cht_wc_i2c_adap_driver static
authorColin Ian King <colin.king@canonical.com>
Wed, 16 Aug 2017 09:16:59 +0000 (10:16 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 29 Aug 2017 10:09:06 +0000 (12:09 +0200)
commit5ca21c13c9f4d180e673bcbc36fd0d9128b7f63e
tree8ab58d10bd74ccaa25752f5faf89d57229553be8
parentd596f2b8b4cb0451087992796974aa9f076a7fc7
i2c-cht-wc: make cht_wc_i2c_adap_driver static

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>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-cht-wc.c