grove/lcd: Limit name space, add static.

Change-Id: I1efc5def0a205964309e719f5a1d4e00ce154f12
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-26 05:51:37 +01:00 committed by Anas Nashif
commit 0cb864cada

View file

@ -342,12 +342,12 @@ int glcd_initialize(struct device *port)
return 0;
}
struct glcd_driver grove_lcd_config = {
static const struct glcd_driver grove_lcd_config = {
.lcd_addr = GROVE_LCD_DISPLAY_ADDR,
.rgb_addr = GROVE_RGB_BACKLIGHT_ADDR,
};
struct glcd_data grove_lcd_driver = {
static struct glcd_data grove_lcd_driver = {
.i2c = NULL,
.input_set = 0,
.display_switch = 0,