aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548/include/mach/portmux.h
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2013-09-03 16:29:01 +0800
committerLinus Walleij <linus.walleij@linaro.org>2013-09-23 11:04:44 +0200
commit741ecef62a37bcc368ff8c7282f810327edc3d94 (patch)
tree89d07df54b7e427bab46da43a3ada0e615dccc1e /arch/blackfin/mach-bf548/include/mach/portmux.h
parentpinctrl: pinctrl-adi2-bf60x: remove useless and duplicated GPIO definition for PPI2. (diff)
downloadlinux-dev-741ecef62a37bcc368ff8c7282f810327edc3d94.tar.xz
linux-dev-741ecef62a37bcc368ff8c7282f810327edc3d94.zip
blackfin: pinctrl-adi2: Enable PINCTRL framework for BF54x and BF60x.
- Remove unused macro MAX_RESOURCES - Override blackfin legacy peripheral pinmux request and free APIs by devm_pinctrl_get_select_default() to init the peripheral portmux setting. v3-chagnes: - Move pinctrl soc data out of blackfin arch folder. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Acked-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '')
-rw-r--r--arch/blackfin/mach-bf548/include/mach/portmux.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/portmux.h b/arch/blackfin/mach-bf548/include/mach/portmux.h
index e22246202730..d9f8632d7d09 100644
--- a/arch/blackfin/mach-bf548/include/mach/portmux.h
+++ b/arch/blackfin/mach-bf548/include/mach/portmux.h
@@ -7,8 +7,6 @@
#ifndef _MACH_PORTMUX_H_
#define _MACH_PORTMUX_H_
-#define MAX_RESOURCES MAX_BLACKFIN_GPIOS
-
#define P_SPORT2_TFS (P_DEFINED | P_IDENT(GPIO_PA0) | P_FUNCT(0))
#define P_SPORT2_DTSEC (P_DEFINED | P_IDENT(GPIO_PA1) | P_FUNCT(0))
#define P_SPORT2_DTPRI (P_DEFINED | P_IDENT(GPIO_PA2) | P_FUNCT(0))