mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
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>
This commit is contained in:
parent
ac3785d5c1
commit
7c42721fe0
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue