From: Greg Kroah-Hartman Date: Thu, 25 Jul 2013 20:50:30 +0000 (-0700) Subject: char: tile-srom: fix build error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7c42721fe0c58a848849b43ff558cf2fb86aa35a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git char: tile-srom: fix build error This fixes the build error: drivers/char/tile-srom.c:307:2: warning: missing braces around initializer [-Wmissing-braces] and the resulting fallout for the missing '*' character, sorry, my fault... Reported-by: kbuild test robot Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/char/tile-srom.c b/drivers/char/tile-srom.c index 344e97b91014..ae82933883bd 100644 --- a/drivers/char/tile-srom.c +++ b/drivers/char/tile-srom.c @@ -303,7 +303,7 @@ static ssize_t page_size_show(struct device *dev, } static DEVICE_ATTR_RO(page_size); -static struct attribute srom_dev_attrs[] = { +static struct attribute *srom_dev_attrs[] = { &dev_attr_total_size.attr, &dev_attr_sector_size.attr, &dev_attr_page_size.attr,