Home
last modified time | relevance | path

Searched hist:debbbbef06e23683d6cf8e1b03d0e9e7a69ad145 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iio/light/
H A Dst_uvis25_spi.cdiff debbbbef06e23683d6cf8e1b03d0e9e7a69ad145 Mon Dec 04 06:04:06 CST 2017 Colin Ian King <colin.king@canonical.com> iio: light: make a couple of config structures static

Structures st_uvis25_i2c_regmap_config and st_uvis25_spi_regmap_config are
local to the source and do not need to be in global scope, so make them
both static.

Cleans up sparse warnings:
warning: symbol 'st_uvis25_i2c_regmap_config' was not declared. Should
it be static?
warning: symbol 'st_uvis25_spi_regmap_config' was not declared. Should
it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
H A Dst_uvis25_i2c.cdiff debbbbef06e23683d6cf8e1b03d0e9e7a69ad145 Mon Dec 04 06:04:06 CST 2017 Colin Ian King <colin.king@canonical.com> iio: light: make a couple of config structures static

Structures st_uvis25_i2c_regmap_config and st_uvis25_spi_regmap_config are
local to the source and do not need to be in global scope, so make them
both static.

Cleans up sparse warnings:
warning: symbol 'st_uvis25_i2c_regmap_config' was not declared. Should
it be static?
warning: symbol 'st_uvis25_spi_regmap_config' was not declared. Should
it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>