diff options
Diffstat (limited to 'arch/arm/mach-davinci/id.c')
-rw-r--r-- | arch/arm/mach-davinci/id.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/id.c b/arch/arm/mach-davinci/id.c index 379f2baf66d6..018b994cd794 100644 --- a/arch/arm/mach-davinci/id.c +++ b/arch/arm/mach-davinci/id.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | 17 | ||
18 | #define JTAG_ID_BASE 0x01c40028 | 18 | #define JTAG_ID_BASE IO_ADDRESS(0x01c40028) |
19 | 19 | ||
20 | static unsigned int davinci_revision; | 20 | static unsigned int davinci_revision; |
21 | 21 | ||
@@ -58,7 +58,7 @@ static u16 __init davinci_get_part_no(void) | |||
58 | { | 58 | { |
59 | u32 dev_id, part_no; | 59 | u32 dev_id, part_no; |
60 | 60 | ||
61 | dev_id = davinci_readl(JTAG_ID_BASE); | 61 | dev_id = __raw_readl(JTAG_ID_BASE); |
62 | 62 | ||
63 | part_no = ((dev_id >> 12) & 0xffff); | 63 | part_no = ((dev_id >> 12) & 0xffff); |
64 | 64 | ||
@@ -72,7 +72,7 @@ static u8 __init davinci_get_variant(void) | |||
72 | { | 72 | { |
73 | u32 variant; | 73 | u32 variant; |
74 | 74 | ||
75 | variant = davinci_readl(JTAG_ID_BASE); | 75 | variant = __raw_readl(JTAG_ID_BASE); |
76 | 76 | ||
77 | variant = (variant >> 28) & 0xf; | 77 | variant = (variant >> 28) & 0xf; |
78 | 78 | ||