Commit
71d1e5d71cec ("arm: ecard: use dev_groups and not dev_attrs for bus_type")
had a typo in the resource attribute definition. Fix that up.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes:
71d1e5d71cec ("arm: ecard: use dev_groups and not dev_attrs for bus_type")
Cc: Russell King <linux@armlinux.org.uk>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
return str - buf;
}
-static DEVICE_ATTR_RO(resource_show)
+static DEVICE_ATTR_RO(resource)
static ssize_t vendor_show(struct device *dev, struct device_attribute *attr, char *buf)
{