char: tile-srom: fix build error
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:50:30 +0000 (13:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:50:30 +0000 (13:50 -0700)
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 <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/tile-srom.c

index 344e97b910144b1648edbf1e25eec8e163fdfcb4..ae82933883bde38ae4b30b496a151f51e23d6b7a 100644 (file)
@@ -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,