summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-26 21:56:23 +0400
committerMike Frysinger <vapier@gentoo.org>2011-07-23 09:18:27 +0400
commit01f8e34c9855e5aa4f56a73b8d5ea8f7613dbb7e (patch)
treec02d7f45381f478d6e0181584080a8d6704663e4 /arch/blackfin/mach-bf548
parent85c2737ae7c2b64c35862da3757b185e822a259b (diff)
downloadlinux-01f8e34c9855e5aa4f56a73b8d5ea8f7613dbb7e.tar.xz
Blackfin: gpio/ints: generalize pint logic
Have the logic that uses peripheral interrupt blocks key off of pint defines rather than CPU names so that things are generalized across families. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/include/mach/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/gpio.h b/arch/blackfin/mach-bf548/include/mach/gpio.h
index 7db433514e3f..35c8ced46158 100644
--- a/arch/blackfin/mach-bf548/include/mach/gpio.h
+++ b/arch/blackfin/mach-bf548/include/mach/gpio.h
@@ -170,6 +170,8 @@
#define MAX_BLACKFIN_GPIOS 160
+#define BFIN_GPIO_PINT 1
+
#ifndef __ASSEMBLY__
struct gpio_port_t {