arm: ecard: fix dev_groups patch typo

Commit 71d1e5d71c ("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: 71d1e5d71c ("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
This commit is contained in:
Greg Kroah-Hartman 2017-06-10 14:31:21 +02:00
parent 4fe99816a1
commit 1b8b02f0d0
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{