mirror of https://gitee.com/openkylin/linux.git
arm: ecard: fix dev_groups patch typo
Commit71d1e5d71c
("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:
parent
4fe99816a1
commit
1b8b02f0d0
|
@ -789,7 +789,7 @@ static ssize_t resource_show(struct device *dev, struct device_attribute *attr,
|
||||||
|
|
||||||
return str - buf;
|
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)
|
static ssize_t vendor_show(struct device *dev, struct device_attribute *attr, char *buf)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue