summaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap/include/mach/portmux.h
diff options
context:
space:
mode:
authorJulien May <julien.may@miromico.ch>2008-09-24 10:30:47 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-10-12 15:54:00 +0200
commitcaf18f19eefc0cf5539b4e82b8aa8df6a78391a6 (patch)
tree732b9435ee1fd4b536dde6fd6252a54ab388270d /arch/avr32/mach-at32ap/include/mach/portmux.h
parent0d62950125241a6e6db8e8f14271f098ec7a2da4 (diff)
downloadtalos-op-linux-caf18f19eefc0cf5539b4e82b8aa8df6a78391a6.tar.gz
talos-op-linux-caf18f19eefc0cf5539b4e82b8aa8df6a78391a6.zip
avr32: Allow selecting multiple pins at once
at32_select_periph() now takes an u32 bitmask rather than a single pin. This allows to set multiple pins at once. Signed-off-by: Alex Raimondi <mailinglist@miromico.ch> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/include/mach/portmux.h')
-rw-r--r--arch/avr32/mach-at32ap/include/mach/portmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/portmux.h b/arch/avr32/mach-at32ap/include/mach/portmux.h
index 4bbf99ec2c43..21c79373b53f 100644
--- a/arch/avr32/mach-at32ap/include/mach/portmux.h
+++ b/arch/avr32/mach-at32ap/include/mach/portmux.h
@@ -21,8 +21,8 @@
#define AT32_GPIOF_DEGLITCH 0x00000008 /* (IN) Filter glitches */
#define AT32_GPIOF_MULTIDRV 0x00000010 /* Enable multidriver option */
-void at32_select_periph(unsigned int pin, unsigned int periph,
- unsigned long flags);
+void at32_select_periph(unsigned int port, unsigned int pin,
+ unsigned int periph, unsigned long flags);
void at32_select_gpio(unsigned int pin, unsigned long flags);
void at32_deselect_pin(unsigned int pin);
void at32_reserve_pin(unsigned int pin);
OpenPOWER on IntegriCloud