summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rpc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-10 14:31:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-10 14:31:21 +0200
commit1b8b02f0d084a2d9a966d5ae004d49c8e76aa8cc (patch)
tree462d6ca1408e1733aedcdce56ec48525b77778f3 /arch/arm/mach-rpc
parent4fe99816a1ab0323c39949bd0ee99a97b7e5875f (diff)
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 <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
Diffstat (limited to 'arch/arm/mach-rpc')
-rw-r--r--arch/arm/mach-rpc/ecard.c2
1 files changed, 1 insertions, 1 deletions
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)
{