summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sa1100/neponset.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-08-31 08:49:55 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-04-02 11:11:38 +0100
commit525d0eb0b3e584d308cf3272ddb4158f9a55e77c (patch)
tree73268f637790149d03d6c01e9161185b3a4555d5 /arch/arm/mach-sa1100/neponset.c
parent7c8758954ad3050f25837464a9fcfc420b975762 (diff)
ARM: sa1100/neponset: remove neponset_ncr_* interfaces and header
Remove the legacy neponset_ncr_*() interfaces and definitions, which leaves the header empty apart from the header and footer. Remove the header as well. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/neponset.c')
-rw-r--r--arch/arm/mach-sa1100/neponset.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/mach-sa1100/neponset.c b/arch/arm/mach-sa1100/neponset.c
index 2b2fff442ba7..9d2ae7febca3 100644
--- a/arch/arm/mach-sa1100/neponset.c
+++ b/arch/arm/mach-sa1100/neponset.c
@@ -27,7 +27,6 @@
#include <mach/hardware.h>
#include <mach/assabet.h>
-#include <mach/neponset.h>
#include <mach/irqs.h>
#define NEP_IRQ_SMC91X 0
@@ -50,6 +49,7 @@
#define IRR_USAR (1 << 1)
#define IRR_SA1111 (1 << 2)
+#define NCR_GP01_OFF BIT(0)
#define NCR_NGPIO 7
#define MDM_CTL0_NGPIO 4
#define MDM_CTL1_NGPIO 6
@@ -126,18 +126,6 @@ static struct gpiod_lookup_table neponset_pcmcia_table = {
static struct neponset_drvdata *nep;
-void neponset_ncr_frob(unsigned int mask, unsigned int val)
-{
- struct neponset_drvdata *n = nep;
- unsigned long m = mask, v = val;
-
- if (nep)
- n->gpio[0]->set_multiple(n->gpio[0], &m, &v);
- else
- WARN(1, "nep unset\n");
-}
-EXPORT_SYMBOL(neponset_ncr_frob);
-
/*
* Install handler for Neponset IRQ. Note that we have to loop here
* since the ETHERNET and USAR IRQs are level based, and we need to