From 64a4f5378a1a96acd681d561ff30363001f41eda Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Sun, 25 Jan 2015 22:22:07 -0800 Subject: [PATCH] dp: XDptx->XDp and XDprx->XDp. XDp is used as an argument for all API functions. If a user application uses a deprecated structure, it is automatically converted to the top-level XDp structure which contains either a XDp_Tx or XDp_Rx structure which corresponds to the previous XDptx and XDprx. This is done for back-wards compatability with the dptx driver to minimize user effort in migrating to the new dp driver. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/dp/src/xdp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/dp/src/xdp.h b/XilinxProcessorIPLib/drivers/dp/src/xdp.h index 70700d9c..6bbcae38 100644 --- a/XilinxProcessorIPLib/drivers/dp/src/xdp.h +++ b/XilinxProcessorIPLib/drivers/dp/src/xdp.h @@ -991,8 +991,8 @@ void XDp_RxSetUserPixelWidth(XDp *InstancePtr, u8 UserPixelWidth); #define XDptx_HpdInterruptHandler XDp_InterruptHandler #define XDprx_InterruptHandler XDp_InterruptHandler -#define XDptx XDp_Tx -#define XDprx XDp_Rx +#define XDptx XDp +#define XDprx XDp #define XDPTX XDP_TX #define XDPRX XDP_RX