X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fsh%2Fsuperhyway%2Fsuperhyway-sysfs.c;h=55434330867b27c1b90c331fb1189202439dcff8;hb=dd00cc486ab1c17049a535413d1751ef3482141c;hp=dc119ce68e3eafa7a0c6c4e03d244224b3e3c8df;hpb=a5324343955997d1439f26518ddac567cd5d134b;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/sh/superhyway/superhyway-sysfs.c b/drivers/sh/superhyway/superhyway-sysfs.c index dc119ce68e3e..55434330867b 100644 --- a/drivers/sh/superhyway/superhyway-sysfs.c +++ b/drivers/sh/superhyway/superhyway-sysfs.c @@ -30,7 +30,7 @@ superhyway_ro_attr(bot_mb, "0x%02x\n", vcr.bot_mb); superhyway_ro_attr(top_mb, "0x%02x\n", vcr.top_mb); /* Misc */ -superhyway_ro_attr(resource, "0x%08lx\n", resource.start); +superhyway_ro_attr(resource, "0x%08lx\n", resource[0].start); struct device_attribute superhyway_dev_attrs[] = { __ATTR_RO(perr_flags),