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:
parent
eb9df3f478
commit
cfc2fec774
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue