diff options
| -rw-r--r-- | arch/avr32/Kconfig | 3 | ||||
| -rw-r--r-- | arch/avr32/mach-at32ap/at32ap7000.c | 4 | ||||
| -rw-r--r-- | arch/avr32/mach-at32ap/hsmc.c | 1 | ||||
| -rw-r--r-- | arch/avr32/mach-at32ap/intc.c | 4 | ||||
| -rw-r--r-- | include/asm-avr32/sysreg.h | 2 | ||||
| -rw-r--r-- | include/pcmcia/cs_types.h | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index bbecbd8469b5..4f402c924504 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig | |||
| @@ -19,9 +19,6 @@ config AVR32 | |||
| 19 | There is an AVR32 Linux project with a web page at | 19 | There is an AVR32 Linux project with a web page at |
| 20 | http://avr32linux.org/. | 20 | http://avr32linux.org/. |
| 21 | 21 | ||
| 22 | config UID16 | ||
| 23 | bool | ||
| 24 | |||
| 25 | config GENERIC_GPIO | 22 | config GENERIC_GPIO |
| 26 | bool | 23 | bool |
| 27 | default y | 24 | default y |
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c b/arch/avr32/mach-at32ap/at32ap7000.c index a9d9ec081e3d..7c4388f4f17f 100644 --- a/arch/avr32/mach-at32ap/at32ap7000.c +++ b/arch/avr32/mach-at32ap/at32ap7000.c | |||
| @@ -474,7 +474,7 @@ static struct resource at32ap700x_rtc0_resource[] = { | |||
| 474 | static struct resource at32_wdt0_resource[] = { | 474 | static struct resource at32_wdt0_resource[] = { |
| 475 | { | 475 | { |
| 476 | .start = 0xfff000b0, | 476 | .start = 0xfff000b0, |
| 477 | .end = 0xfff000bf, | 477 | .end = 0xfff000cf, |
| 478 | .flags = IORESOURCE_MEM, | 478 | .flags = IORESOURCE_MEM, |
| 479 | }, | 479 | }, |
| 480 | }; | 480 | }; |
| @@ -690,7 +690,7 @@ static struct resource atmel_usart0_resource[] = { | |||
| 690 | IRQ(6), | 690 | IRQ(6), |
| 691 | }; | 691 | }; |
| 692 | DEFINE_DEV_DATA(atmel_usart, 0); | 692 | DEFINE_DEV_DATA(atmel_usart, 0); |
| 693 | DEV_CLK(usart, atmel_usart0, pba, 4); | 693 | DEV_CLK(usart, atmel_usart0, pba, 3); |
| 694 | 694 | ||
| 695 | static struct atmel_uart_data atmel_usart1_data = { | 695 | static struct atmel_uart_data atmel_usart1_data = { |
| 696 | .use_dma_tx = 1, | 696 | .use_dma_tx = 1, |
diff --git a/arch/avr32/mach-at32ap/hsmc.c b/arch/avr32/mach-at32ap/hsmc.c index 704607fbcc69..fa427ed42787 100644 --- a/arch/avr32/mach-at32ap/hsmc.c +++ b/arch/avr32/mach-at32ap/hsmc.c | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
| 9 | */ | 9 | */ |
| 10 | #define DEBUG | ||
| 11 | #include <linux/clk.h> | 10 | #include <linux/clk.h> |
| 12 | #include <linux/err.h> | 11 | #include <linux/err.h> |
| 13 | #include <linux/init.h> | 12 | #include <linux/init.h> |
diff --git a/arch/avr32/mach-at32ap/intc.c b/arch/avr32/mach-at32ap/intc.c index dd5c009cf224..0b286cd53028 100644 --- a/arch/avr32/mach-at32ap/intc.c +++ b/arch/avr32/mach-at32ap/intc.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include <linux/irq.h> | 13 | #include <linux/irq.h> |
| 14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
| 15 | 15 | ||
| 16 | #include <asm/intc.h> | ||
| 16 | #include <asm/io.h> | 17 | #include <asm/io.h> |
| 17 | 18 | ||
| 18 | #include "intc.h" | 19 | #include "intc.h" |
| @@ -136,7 +137,8 @@ fail: | |||
| 136 | panic("Interrupt controller initialization failed!\n"); | 137 | panic("Interrupt controller initialization failed!\n"); |
| 137 | } | 138 | } |
| 138 | 139 | ||
| 139 | unsigned long intc_get_pending(int group) | 140 | unsigned long intc_get_pending(unsigned int group) |
| 140 | { | 141 | { |
| 141 | return intc_readl(&intc0, INTREQ0 + 4 * group); | 142 | return intc_readl(&intc0, INTREQ0 + 4 * group); |
| 142 | } | 143 | } |
| 144 | EXPORT_SYMBOL_GPL(intc_get_pending); | ||
diff --git a/include/asm-avr32/sysreg.h b/include/asm-avr32/sysreg.h index c02bc8304b13..dd21182b60e0 100644 --- a/include/asm-avr32/sysreg.h +++ b/include/asm-avr32/sysreg.h | |||
| @@ -215,6 +215,8 @@ | |||
| 215 | #define SYSREG_IRP_SIZE 6 | 215 | #define SYSREG_IRP_SIZE 6 |
| 216 | 216 | ||
| 217 | /* Bitfields in PCCR */ | 217 | /* Bitfields in PCCR */ |
| 218 | #define SYSREG_PCCR_E_OFFSET 0 | ||
| 219 | #define SYSREG_PCCR_E_SIZE 1 | ||
| 218 | #define SYSREG_PCCR_R_OFFSET 1 | 220 | #define SYSREG_PCCR_R_OFFSET 1 |
| 219 | #define SYSREG_PCCR_R_SIZE 1 | 221 | #define SYSREG_PCCR_R_SIZE 1 |
| 220 | #define SYSREG_PCCR_C_OFFSET 2 | 222 | #define SYSREG_PCCR_C_OFFSET 2 |
diff --git a/include/pcmcia/cs_types.h b/include/pcmcia/cs_types.h index c1d1629fcd27..5f388035687d 100644 --- a/include/pcmcia/cs_types.h +++ b/include/pcmcia/cs_types.h | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | #include <sys/types.h> | 21 | #include <sys/types.h> |
| 22 | #endif | 22 | #endif |
| 23 | 23 | ||
| 24 | #if defined(__arm__) || defined(__mips__) | 24 | #if defined(__arm__) || defined(__mips__) || defined(__avr32__) |
| 25 | /* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */ | 25 | /* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */ |
| 26 | typedef u_int ioaddr_t; | 26 | typedef u_int ioaddr_t; |
| 27 | #else | 27 | #else |
