dp: Number of DisplayPort instances now uses the new driver naming prefix.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-01-09 12:18:11 -08:00 committed by Nava kishore Manne
parent eb9df3f478
commit cfc2fec774

View file

@ -59,7 +59,7 @@
* A table of configuration structures containing the configuration information
* for each DisplayPort TX core in the system.
*/
extern XDp_Config XDp_ConfigTable[XPAR_XDPTX_NUM_INSTANCES];
extern XDp_Config XDp_ConfigTable[XPAR_XDP_NUM_INSTANCES];
/**************************** Function Definitions ****************************/
@ -82,7 +82,7 @@ XDp_Config *XDp_LookupConfig(u16 DeviceId)
XDp_Config *CfgPtr;
u32 Index;
for (Index = 0; Index < XPAR_XDPTX_NUM_INSTANCES; Index++) {
for (Index = 0; Index < XPAR_XDP_NUM_INSTANCES; Index++) {
if (XDp_ConfigTable[Index].DeviceId == DeviceId) {
CfgPtr = &XDp_ConfigTable[Index];
break;