summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorJeffy Chen <jeffy.chen@rock-chips.com>2018-03-12 17:51:40 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-03-17 14:20:57 +0100
commit65d211b307655e352385bfdee7aa9754d5acb66e (patch)
tree9b2e0f5db3c1338b8ed9d1e1db89aba4c3542c1c /drivers/rtc
parent756d5282bf04db868b1c0b93f41981dabe2af57f (diff)
downloadlinux-65d211b307655e352385bfdee7aa9754d5acb66e.tar.bz2
rtc: at91sam9: Set name of regmap_config
We are now allowing to register debugfs without a valid device, and not having a valid name will end up using "dummy*" to create debugfs dir. Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-at91sam9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c
index 7418a763ce52..ee71e647fd43 100644
--- a/drivers/rtc/rtc-at91sam9.c
+++ b/drivers/rtc/rtc-at91sam9.c
@@ -349,6 +349,7 @@ static const struct rtc_class_ops at91_rtc_ops = {
};
static const struct regmap_config gpbr_regmap_config = {
+ .name = "gpbr",
.reg_bits = 32,
.val_bits = 32,
.reg_stride = 4,