diff options
author | Olof Johansson <olof@lixom.net> | 2013-12-11 15:51:21 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-11 19:53:55 -0500 |
commit | df7841604394c57289072d15fcd90a2585b701a6 (patch) | |
tree | 74142b70986302c20187bf438905a23bc78351e5 /drivers | |
parent | c767db5147f0f257accbb26639a2b916d5ffb1e6 (diff) |
net: eth: davinci_cpdma: Mark a local variable static
Only used locally. Found by sparse.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/ti/davinci_cpdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c index b041a877fe2..364d0c7952c 100644 --- a/drivers/net/ethernet/ti/davinci_cpdma.c +++ b/drivers/net/ethernet/ti/davinci_cpdma.c @@ -971,7 +971,7 @@ struct cpdma_control_info { #define ACCESS_RW (ACCESS_RO | ACCESS_WO) }; -struct cpdma_control_info controls[] = { +static struct cpdma_control_info controls[] = { [CPDMA_CMD_IDLE] = {CPDMA_DMACONTROL, 3, 1, ACCESS_WO}, [CPDMA_COPY_ERROR_FRAMES] = {CPDMA_DMACONTROL, 4, 1, ACCESS_RW}, [CPDMA_RX_OFF_LEN_UPDATE] = {CPDMA_DMACONTROL, 2, 1, ACCESS_RW}, |