]> git.sur5r.net Git - u-boot/blobdiff - drivers/mailbox/tegra-hsp.c
gpio: omap_gpio: Convert to auto-alloc feature when DT is supported
[u-boot] / drivers / mailbox / tegra-hsp.c
index b546ba24710770629f9ecfbf021516d23334423c..9bee886561c5296cdd8a226ef7d6e1478db0c9bd 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2016, NVIDIA CORPORATION.
- *
- * SPDX-License-Identifier: GPL-2.0
  */
 
 #include <common.h>
@@ -36,8 +35,6 @@ struct tegra_hsp {
        uint32_t db_base;
 };
 
-DECLARE_GLOBAL_DATA_PTR;
-
 static uint32_t *tegra_hsp_reg(struct tegra_hsp *thsp, uint32_t db_id,
                               uint32_t reg)
 {
@@ -72,7 +69,7 @@ static int tegra_hsp_db_id(ulong chan_id)
 }
 
 static int tegra_hsp_of_xlate(struct mbox_chan *chan,
-                             struct fdtdec_phandle_args *args)
+                             struct ofnode_phandle_args *args)
 {
        debug("%s(chan=%p)\n", __func__, chan);