summaryrefslogtreecommitdiff
path: root/drivers/clk/nxp/clk-lpc32xx.c
diff options
context:
space:
mode:
authorJeffy Chen <jeffy.chen@rock-chips.com>2018-03-19 06:58:54 +0300
committerStephen Boyd <sboyd@kernel.org>2018-03-20 00:35:16 +0300
commitcef7b18c3e8bd709b6b4b7bb67ceca662aa5f60e (patch)
treea27768db16af2d322bb146fb6ba48408a28c536a /drivers/clk/nxp/clk-lpc32xx.c
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-cef7b18c3e8bd709b6b4b7bb67ceca662aa5f60e.tar.xz
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>
Diffstat (limited to 'drivers/clk/nxp/clk-lpc32xx.c')
-rw-r--r--drivers/clk/nxp/clk-lpc32xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/nxp/clk-lpc32xx.c b/drivers/clk/nxp/clk-lpc32xx.c
index f5d815f577e0..5eeecee17b69 100644
--- a/drivers/clk/nxp/clk-lpc32xx.c
+++ b/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,