summaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/chromeos_laptop.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-11-26 01:10:25 +0400
committerOlof Johansson <olof@lixom.net>2013-11-26 01:27:24 +0400
commit6d3c1afe7367447c8f7d2fec7a132f723834efd1 (patch)
tree9598cef16d86e4e9ca0bb5fa0eb4118f065eab6d /drivers/platform/chrome/chromeos_laptop.c
parentcdddd23fa2536cd4273e95d66b6ef83e67b747bf (diff)
downloadlinux-6d3c1afe7367447c8f7d2fec7a132f723834efd1.tar.xz
platform/chrome: Make i2c_adapter_names static
Not used outside of the file, so declaration should be static. Picked up by sparse: drivers/platform/chrome/chromeos_laptop.c:44:12: warning: symbol 'i2c_adapter_names' was not declared. Should it be static? Signed-off-by: Olof Johansson <olof@lixom.net> Reviewed-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/platform/chrome/chromeos_laptop.c')
-rw-r--r--drivers/platform/chrome/chromeos_laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
index 1c2747f119d1..446ef0f9c256 100644
--- a/drivers/platform/chrome/chromeos_laptop.c
+++ b/drivers/platform/chrome/chromeos_laptop.c
@@ -41,7 +41,7 @@ static struct i2c_client *als;
static struct i2c_client *tp;
static struct i2c_client *ts;
-const char *i2c_adapter_names[] = {
+static const char *i2c_adapter_names[] = {
"SMBus I801 adapter",
"i915 gmbus vga",
"i915 gmbus panel",