From: Greg Kroah-Hartman Date: Sat, 10 Jun 2017 12:31:21 +0000 (+0200) Subject: arm: ecard: fix dev_groups patch typo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1b8b02f0d084a2d9a966d5ae004d49c8e76aa8cc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm: ecard: fix dev_groups patch typo 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 Fixes: 71d1e5d71cec ("arm: ecard: use dev_groups and not dev_attrs for bus_type") Cc: Russell King Cc: Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org --- diff --git a/arch/arm/mach-rpc/ecard.c b/arch/arm/mach-rpc/ecard.c index f75b8b562d57..5966964222b5 100644 --- a/arch/arm/mach-rpc/ecard.c +++ b/arch/arm/mach-rpc/ecard.c @@ -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) {