Commit 1b8b02f0 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

arm: ecard: fix dev_groups patch typo

Commit 71d1e5d7 ("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: default avatarkbuild test robot <fengguang.wu@intel.com>
Fixes: 71d1e5d7 ("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
parent 4fe99816
......@@ -789,7 +789,7 @@ static ssize_t resource_show(struct device *dev, struct device_attribute *attr,
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)
{
......
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