diff mbox series

xilinx: Remove duplicate PMIO_NODE_ID_BASE macro

Message ID ce9a601bb99418aa20272d046c74678829d942cc.1657191974.git.michal.simek@amd.com
State Accepted
Commit 7e9c2cd4e46cb93c22ea513c24c83b07873deac6
Delegated to: Michal Simek
Headers show
Series xilinx: Remove duplicate PMIO_NODE_ID_BASE macro | expand

Commit Message

Michal Simek July 7, 2022, 11:06 a.m. UTC
PMIO_NODE_ID_BASE is defined twice that's why remove one instance.

Fixes: 248fe9f302df ("spi: cadence_qspi: Enable apb linear mode for apb read & write operations")
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 include/zynqmp_firmware.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Michal Simek July 15, 2022, 8:02 a.m. UTC | #1
On 7/7/22 13:06, Michal Simek wrote:
> PMIO_NODE_ID_BASE is defined twice that's why remove one instance.
> 
> Fixes: 248fe9f302df ("spi: cadence_qspi: Enable apb linear mode for apb read & write operations")
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
> 
>   include/zynqmp_firmware.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h
> index 6c4fd9a6c5f2..86c14d560e12 100644
> --- a/include/zynqmp_firmware.h
> +++ b/include/zynqmp_firmware.h
> @@ -435,8 +435,6 @@ enum pm_gem_config_type {
>   #define PMUFW_V1_0	((1 << ZYNQMP_PM_VERSION_MAJOR_SHIFT) | 0)
>   #define PMIO_NODE_ID_BASE		0x1410801B
>   
> -#define PMIO_NODE_ID_BASE		0x1410801B
> -
>   /*
>    * Return payload size
>    * Not every firmware call expects the same amount of return bytes, however the

applied.
M
diff mbox series

Patch

diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h
index 6c4fd9a6c5f2..86c14d560e12 100644
--- a/include/zynqmp_firmware.h
+++ b/include/zynqmp_firmware.h
@@ -435,8 +435,6 @@  enum pm_gem_config_type {
 #define PMUFW_V1_0	((1 << ZYNQMP_PM_VERSION_MAJOR_SHIFT) | 0)
 #define PMIO_NODE_ID_BASE		0x1410801B
 
-#define PMIO_NODE_ID_BASE		0x1410801B
-
 /*
  * Return payload size
  * Not every firmware call expects the same amount of return bytes, however the