]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/fddi/skfp/h/skfbi.h: Remove useless PCI_BASE_2ND macros
authorChen Gang <gang.chen.5i5j@gmail.com>
Wed, 3 Sep 2014 15:26:26 +0000 (23:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Sep 2014 21:51:09 +0000 (14:51 -0700)
commit7c5460e6e4d847a74b519b162e186fd255187dcc
treeab92e8a636f804e88c8bc04edb7d3e53189e4b60
parenta45b7ce9f837931e038ceb690d3d670e589505f7
drivers/net/fddi/skfp/h/skfbi.h: Remove useless PCI_BASE_2ND macros

They are use less, and may generate compiling warnings, so remove them
(microblaze, arc, arm64, and unicore32 have already defined PCI_IOBASE).

The related warnings (with allmodconfig under microblaze):

  CC [M]  drivers/net/fddi/skfp/skfddi.o
  In file included from drivers/net/fddi/skfp/skfddi.c:95:0:
  drivers/net/fddi/skfp/h/skfbi.h:151:0: warning: "PCI_IOBASE" redefined
   #define PCI_IOBASE 0xffffff00L  /* Bit 31..8:  I/O Base address */
   ^
  In file included from include/linux/io.h:22:0,
                   from include/linux/pci.h:31,
                   from drivers/net/fddi/skfp/skfddi.c:82:
  ./arch/microblaze/include/asm/io.h:33:0: note: this is the location of the previous definition
   #define PCI_IOBASE ((void __iomem *)_IO_BASE)
   ^

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fddi/skfp/h/skfbi.h