]> Git Repo - J-u-boot.git/blobdiff - drivers/pinctrl/nxp/pinctrl-mxs.c
common: Drop asm/global_data.h from common header
[J-u-boot.git] / drivers / pinctrl / nxp / pinctrl-mxs.c
index db463fc04b96e4b5745b8f3d5c3c8bf1199f1fb3..e6b10a377b6c12f65b8f405546e4e974dfb4f2f9 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <log.h>
+#include <asm/global_data.h>
 #include <dm/device_compat.h>
 #include <dm/devres.h>
 #include <linux/io.h>
@@ -188,8 +189,8 @@ U_BOOT_DRIVER(fsl_imx23_pinctrl) = {
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
 #endif
-       .priv_auto_alloc_size = sizeof(struct mxs_pinctrl_priv),
+       .priv_auto      = sizeof(struct mxs_pinctrl_priv),
        .ops = &mxs_pinctrl_ops,
 };
 
-U_BOOT_DRIVER_ALIAS(fsl_imx23_pinctrl, fsl_imx28_pinctrl)
+DM_DRIVER_ALIAS(fsl_imx23_pinctrl, fsl_imx28_pinctrl)
This page took 0.024159 seconds and 4 git commands to generate.