From: Tony Lindgren Date: Mon, 13 Aug 2007 12:20:32 +0000 (-0700) Subject: musb_hdrc: Search and replace channelNum with chnum X-Git-Tag: v2.6.23-omap1~228^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=746ccc844f65b889dbc01d47ff7e3405ed130640;p=linux-2.6-omap-h63xx.git musb_hdrc: Search and replace channelNum with chnum Search and replace channelNum with chnum Signed-off-by: Tony Lindgren --- 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