From 746ccc844f65b889dbc01d47ff7e3405ed130640 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 13 Aug 2007 05:20:32 -0700 Subject: [PATCH] musb_hdrc: Search and replace channelNum with chnum Search and replace channelNum with chnum Signed-off-by: Tony Lindgren --- drivers/usb/musb/davinci.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/musb/davinci.h b/drivers/usb/musb/davinci.h index b5910ed0d79..d2cadae169f 100644 --- a/drivers/usb/musb/davinci.h +++ b/drivers/usb/musb/davinci.h @@ -64,10 +64,10 @@ /* CPPI state RAM entries */ #define DAVINCI_CPPI_STATERAM_BASE_OFFSET 0x100 -#define DAVINCI_TXCPPI_STATERAM_OFFSET(channelNum) \ - (DAVINCI_CPPI_STATERAM_BASE_OFFSET + ((channelNum)* 0x40)) -#define DAVINCI_RXCPPI_STATERAM_OFFSET(channelNum) \ - (DAVINCI_CPPI_STATERAM_BASE_OFFSET + 0x20 +((channelNum)* 0x40)) +#define DAVINCI_TXCPPI_STATERAM_OFFSET(chnum) \ + (DAVINCI_CPPI_STATERAM_BASE_OFFSET + ((chnum)* 0x40)) +#define DAVINCI_RXCPPI_STATERAM_OFFSET(chnum) \ + (DAVINCI_CPPI_STATERAM_BASE_OFFSET + 0x20 +((chnum)* 0x40)) /* CPPI masks */ #define DAVINCI_DMA_CTRL_ENABLE 1 -- 2.41.1