Browse Source

sh: Remove SCI_NPORTS from sh-sci.h

When SH7710 and SH7712 are used, SCI_NPORTS redefined.
Remove it.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Nobuhiro Iwamatsu 17 năm trước cách đây
mục cha
commit
694caef5e2
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/serial/sh-sci.h

+ 0 - 1
drivers/serial/sh-sci.h

@@ -77,7 +77,6 @@
 # define SCIF_ONLY
 # define SCIF_ONLY
 #elif defined(CONFIG_CPU_SUBTYPE_SH7710) || defined(CONFIG_CPU_SUBTYPE_SH7712)
 #elif defined(CONFIG_CPU_SUBTYPE_SH7710) || defined(CONFIG_CPU_SUBTYPE_SH7712)
 # define SCSPTR0 0xA4400000	  /* 16 bit SCIF */
 # define SCSPTR0 0xA4400000	  /* 16 bit SCIF */
-# define SCI_NPORTS 2
 # define SCIF_ORER 0x0001   /* overrun error bit */
 # define SCIF_ORER 0x0001   /* overrun error bit */
 # define PACR 0xa4050100
 # define PACR 0xa4050100
 # define PBCR 0xa4050102
 # define PBCR 0xa4050102