diff options
author | Olof Johansson <olof@lixom.net> | 2013-11-25 16:10:25 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-11-25 16:27:24 -0500 |
commit | 6d3c1afe7367447c8f7d2fec7a132f723834efd1 (patch) | |
tree | 9598cef16d86e4e9ca0bb5fa0eb4118f065eab6d | |
parent | cdddd23fa2536cd4273e95d66b6ef83e67b747bf (diff) |
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>
-rw-r--r-- | drivers/platform/chrome/chromeos_laptop.c | 2 |
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; | |||
41 | static struct i2c_client *tp; | 41 | static struct i2c_client *tp; |
42 | static struct i2c_client *ts; | 42 | static struct i2c_client *ts; |
43 | 43 | ||
44 | const char *i2c_adapter_names[] = { | 44 | static const char *i2c_adapter_names[] = { |
45 | "SMBus I801 adapter", | 45 | "SMBus I801 adapter", |
46 | "i915 gmbus vga", | 46 | "i915 gmbus vga", |
47 | "i915 gmbus panel", | 47 | "i915 gmbus panel", |