Commit 7c42721f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ac3785d5
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment