mvgpio: remove CONFIG_SHEEVA_88SV331xV5 dependency

The Marvell GPIO driver can be used on Marvell platforms other than
Sheeva, so remove the ifdef to enable it for others.

Signed-off-by: Rob Herring <robh@kernel.org>
master
Zhou Zhu 10 years ago committed by Tom Rini
parent ee4303cffa
commit 3d046f6a87
  1. 6
      drivers/gpio/mvgpio.h

@ -14,9 +14,8 @@
#include <common.h> #include <common.h>
#ifdef CONFIG_SHEEVA_88SV331xV5
/* /*
* GPIO Register map for SHEEVA 88SV331xV5 * GPIO Register map for Marvell SOCs
*/ */
struct gpio_reg { struct gpio_reg {
u32 gplr; /* Pin Level Register - 0x0000 */ u32 gplr; /* Pin Level Register - 0x0000 */
@ -51,8 +50,5 @@ struct gpio_reg {
u32 pad12[2]; u32 pad12[2];
u32 apmask; /* Bitwise Mask of Edge Detect Register - 0x009C */ u32 apmask; /* Bitwise Mask of Edge Detect Register - 0x009C */
}; };
#else
#error "CPU core subversion not defined"
#endif
#endif /* __MVGPIO_H__ */ #endif /* __MVGPIO_H__ */

Loading…
Cancel
Save