rockchip: rk322x: pinctrl: using compatible name same with dts
authorKever Yang <kever.yang@rock-chips.com>
Thu, 17 Aug 2017 07:17:35 +0000 (15:17 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 18 Aug 2017 16:00:29 +0000 (18:00 +0200)
The dts from kernel is using rk3228-pinctrl as compatible name,
need to sync with it to make the driver work.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/pinctrl/rockchip/pinctrl_rk322x.c

index 7aaf4b5801ad7a21bca90dd15c59a7b4009d4465..d9f8614810b7e209708c44d6defb567823e5eda9 100644 (file)
@@ -279,12 +279,12 @@ static int rk322x_pinctrl_probe(struct udevice *dev)
 }
 
 static const struct udevice_id rk322x_pinctrl_ids[] = {
-       { .compatible = "rockchip,rk322x-pinctrl" },
+       { .compatible = "rockchip,rk3228-pinctrl" },
        { }
 };
 
-U_BOOT_DRIVER(pinctrl_rk322x) = {
-       .name           = "pinctrl_rk322x",
+U_BOOT_DRIVER(pinctrl_rk3228) = {
+       .name           = "pinctrl_rk3228",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk322x_pinctrl_ids,
        .priv_auto_alloc_size = sizeof(struct rk322x_pinctrl_priv),