Skip to content

Commit

Permalink
rtc: at91sam9: Set name of regmap_config
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
  • Loading branch information
JeffyCN authored and alexandrebelloni committed Mar 17, 2018
1 parent 756d528 commit 65d211b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/rtc/rtc-at91sam9.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 65d211b

Please sign in to comment.