Skip to content

Commit 7c42721

Browse files
committed
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>
1 parent ac3785d commit 7c42721

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/char/tile-srom.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ static ssize_t page_size_show(struct device *dev,
303303
}
304304
static DEVICE_ATTR_RO(page_size);
305305

306-
static struct attribute srom_dev_attrs[] = {
306+
static struct attribute *srom_dev_attrs[] = {
307307
&dev_attr_total_size.attr,
308308
&dev_attr_sector_size.attr,
309309
&dev_attr_page_size.attr,

0 commit comments

Comments
 (0)