Skip to content

Commit

Permalink
ARM: rockchip: Set name of pmu regmap_config in smp code
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: Heiko Stuebner <[email protected]>
  • Loading branch information
JeffyCN authored and mmind committed Mar 12, 2018
1 parent 7928b2c commit 03151b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-rockchip/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ static int __init rockchip_smp_prepare_sram(struct device_node *node)
}

static const struct regmap_config rockchip_pmu_regmap_config = {
.name = "rockchip-pmu",
.reg_bits = 32,
.val_bits = 32,
.reg_stride = 4,
Expand Down

0 comments on commit 03151b8

Please sign in to comment.