summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/bfin_sir.h
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-01-21 10:42:31 +0530
committerDavid S. Miller <davem@davemloft.net>2016-01-21 10:45:45 -0800
commitceb6560a4cf3a2667209e6869f4fb8f6da6ef55f (patch)
tree7859cbcb3470fcb1587b21da7b72ced0897111d2 /drivers/net/irda/bfin_sir.h
parent8034e1efcb330d2aecef8cbf8a83f206270c1775 (diff)
downloadblackbird-op-linux-ceb6560a4cf3a2667209e6869f4fb8f6da6ef55f.tar.gz
blackbird-op-linux-ceb6560a4cf3a2667209e6869f4fb8f6da6ef55f.zip
net/irda: bfin_sir: remove duplicate defines
The defconfig build of blackfin is failing with the error: arch/blackfin/include/asm/bfin_serial.h:269:0: warning: "port_membase" redefined drivers/net/irda/bfin_sir.h:85:0: note: this is the location of the previous definition arch/blackfin/include/asm/bfin_serial.h:382:0: warning: "get_lsr_cache" redefined drivers/net/irda/bfin_sir.h:86:0: note: this is the location of the previous definition arch/blackfin/include/asm/bfin_serial.h:383:0: warning: "put_lsr_cache" redefined drivers/net/irda/bfin_sir.h:87:0: note: this is the location of the previous definition port_membase, get_lsr_cache, put_lsr_cache are already defined in the architecture files, no need to define them again in the driver. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/bfin_sir.h')
-rw-r--r--drivers/net/irda/bfin_sir.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/irda/bfin_sir.h b/drivers/net/irda/bfin_sir.h
index 29cbde8501ed..d47cf14bb4a5 100644
--- a/drivers/net/irda/bfin_sir.h
+++ b/drivers/net/irda/bfin_sir.h
@@ -82,9 +82,6 @@ struct bfin_sir_self {
#define DRIVER_NAME "bfin_sir"
-#define port_membase(port) (((struct bfin_sir_port *)(port))->membase)
-#define get_lsr_cache(port) (((struct bfin_sir_port *)(port))->lsr)
-#define put_lsr_cache(port, v) (((struct bfin_sir_port *)(port))->lsr = (v))
#include <asm/bfin_serial.h>
static const unsigned short per[][4] = {
OpenPOWER on IntegriCloud