arm: ecard: fix dev_groups patch typo
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Jun 2017 12:31:21 +0000 (14:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Jun 2017 12:31:21 +0000 (14:31 +0200)
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
arch/arm/mach-rpc/ecard.c

index f75b8b5..5966964 100644 (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)
 {