diff options
| author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2018-03-12 05:51:40 -0400 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-03-17 09:20:57 -0400 |
| commit | 65d211b307655e352385bfdee7aa9754d5acb66e (patch) | |
| tree | 9b2e0f5db3c1338b8ed9d1e1db89aba4c3542c1c /drivers/rtc | |
| parent | 756d5282bf04db868b1c0b93f41981dabe2af57f (diff) | |
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.c | 1 |
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 = { | |||
| 349 | }; | 349 | }; |
| 350 | 350 | ||
| 351 | static const struct regmap_config gpbr_regmap_config = { | 351 | static const struct regmap_config gpbr_regmap_config = { |
| 352 | .name = "gpbr", | ||
| 352 | .reg_bits = 32, | 353 | .reg_bits = 32, |
| 353 | .val_bits = 32, | 354 | .val_bits = 32, |
| 354 | .reg_stride = 4, | 355 | .reg_stride = 4, |
