diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-25 16:50:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-25 16:50:30 -0400 |
commit | 7c42721fe0c58a848849b43ff558cf2fb86aa35a (patch) | |
tree | 380ab19f143d3f30810c0e9cafc42a0bdcce1784 /drivers/char | |
parent | ac3785d5c15922c8a4c6b9e050a5bc59895a6b9b (diff) |
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 <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/tile-srom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
303 | } | 303 | } |
304 | static DEVICE_ATTR_RO(page_size); | 304 | static DEVICE_ATTR_RO(page_size); |
305 | 305 | ||
306 | static struct attribute srom_dev_attrs[] = { | 306 | static struct attribute *srom_dev_attrs[] = { |
307 | &dev_attr_total_size.attr, | 307 | &dev_attr_total_size.attr, |
308 | &dev_attr_sector_size.attr, | 308 | &dev_attr_sector_size.attr, |
309 | &dev_attr_page_size.attr, | 309 | &dev_attr_page_size.attr, |