Browse Source

clk: lpc32xx: 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>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Jeffy Chen 7 years ago
parent
commit
cef7b18c3e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/clk/nxp/clk-lpc32xx.c

+ 1 - 0
drivers/clk/nxp/clk-lpc32xx.c

@@ -67,6 +67,7 @@
 #define LPC32XX_USB_CLK_STS		0xF8
 
 static struct regmap_config lpc32xx_scb_regmap_config = {
+	.name = "scb",
 	.reg_bits = 32,
 	.val_bits = 32,
 	.reg_stride = 4,