]> git.sur5r.net Git - u-boot/blobdiff - include/reset-uclass.h
mmc: dwmmc: socfpga: Add reset ctrl to driver
[u-boot] / include / reset-uclass.h
index 50adeca75797d6528389470d1ef7291867af3b88..c17d738b319c74ca7a6b3c1db179c10f81628c04 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2016, NVIDIA CORPORATION.
- *
- * SPDX-License-Identifier: GPL-2.0
  */
 
 #ifndef _RESET_UCLASS_H
@@ -11,6 +10,7 @@
 
 #include <reset.h>
 
+struct ofnode_phandle_args;
 struct udevice;
 
 /**
@@ -37,7 +37,7 @@ struct reset_ops {
         * @return 0 if OK, or a negative error code.
         */
        int (*of_xlate)(struct reset_ctl *reset_ctl,
-                       struct fdtdec_phandle_args *args);
+                       struct ofnode_phandle_args *args);
        /**
         * request - Request a translated reset control.
         *