summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{