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 <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-01-25 22:22:07 -08:00 committed by Nava kishore Manne
parent a13413ec39
commit 64a4f5378a

View file

@ -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