diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-07-31 10:06:58 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-08 06:42:14 -0400 |
commit | a8d902db221e1e2dcbbd32efbf89055ed69f8e56 (patch) | |
tree | 5005b8f5cffbcd5832806bdd8129a6a230068e42 /arch/avr32/mach-at32ap/clock.c | |
parent | 8f8a59c664e976f0c32d7d4550fd99dca7c4ef7b (diff) |
avr32: Add MMIO address definitions for certain controllers
Hardcoded MMIO base addresses are used a few places throughout the
platform code. Move these into the chip-specific header file so that
adding support for new chips becomes a bit easier.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/clock.c')
-rw-r--r-- | arch/avr32/mach-at32ap/clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/mach-at32ap/clock.c b/arch/avr32/mach-at32ap/clock.c index 4642117cc9ab..6c27ddac5adf 100644 --- a/arch/avr32/mach-at32ap/clock.c +++ b/arch/avr32/mach-at32ap/clock.c | |||
@@ -16,6 +16,8 @@ | |||
16 | #include <linux/device.h> | 16 | #include <linux/device.h> |
17 | #include <linux/string.h> | 17 | #include <linux/string.h> |
18 | 18 | ||
19 | #include <mach/chip.h> | ||
20 | |||
19 | #include "clock.h" | 21 | #include "clock.h" |
20 | 22 | ||
21 | static DEFINE_SPINLOCK(clk_lock); | 23 | static DEFINE_SPINLOCK(clk_lock); |