diff options
author | Simon Arlott <simon@fire.lp0.eu> | 2007-10-19 19:10:46 -0400 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2007-10-19 19:10:46 -0400 |
commit | 5e71c6051585da46b898b21bd8e5b6df2795f03f (patch) | |
tree | 73a14fe2089f41577e273060bb5e8303428375bd /arch/h8300/platform/h8s | |
parent | 761a7e3544b8192c662d8b67913a353f6a014c08 (diff) |
spelling fixes: arch/h8300/
Spelling fixes in arch/h8300/.
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'arch/h8300/platform/h8s')
-rw-r--r-- | arch/h8300/platform/h8s/ints.c | 2 | ||||
-rw-r--r-- | arch/h8300/platform/h8s/ints_h8s.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/platform/h8s/ints.c b/arch/h8300/platform/h8s/ints.c index a71d6e2a3919..551fd5f30d82 100644 --- a/arch/h8300/platform/h8s/ints.c +++ b/arch/h8300/platform/h8s/ints.c | |||
@@ -179,7 +179,7 @@ int request_irq(unsigned int irq, | |||
179 | if (use_kmalloc) | 179 | if (use_kmalloc) |
180 | irq_handle = kmalloc(sizeof(irq_handler_t), GFP_ATOMIC); | 180 | irq_handle = kmalloc(sizeof(irq_handler_t), GFP_ATOMIC); |
181 | else { | 181 | else { |
182 | /* use bootmem allocater */ | 182 | /* use bootmem allocator */ |
183 | irq_handle = (irq_handler_t *)alloc_bootmem(sizeof(irq_handler_t)); | 183 | irq_handle = (irq_handler_t *)alloc_bootmem(sizeof(irq_handler_t)); |
184 | irq_handle = (irq_handler_t *)((unsigned long)irq_handle | 0x80000000); | 184 | irq_handle = (irq_handler_t *)((unsigned long)irq_handle | 0x80000000); |
185 | } | 185 | } |
diff --git a/arch/h8300/platform/h8s/ints_h8s.c b/arch/h8300/platform/h8s/ints_h8s.c index 93395d2a8a07..faa8a459d952 100644 --- a/arch/h8300/platform/h8s/ints_h8s.c +++ b/arch/h8300/platform/h8s/ints_h8s.c | |||
@@ -63,7 +63,7 @@ static const struct irq_pins irq_assign_table1[16]={ | |||
63 | {H8300_GPIO_P2,H8300_GPIO_B6},{H8300_GPIO_P2,H8300_GPIO_B7}, | 63 | {H8300_GPIO_P2,H8300_GPIO_B6},{H8300_GPIO_P2,H8300_GPIO_B7}, |
64 | }; | 64 | }; |
65 | 65 | ||
66 | /* IRQ to GPIO pinno transrate */ | 66 | /* IRQ to GPIO pin translation */ |
67 | #define IRQ_GPIO_MAP(irqbit,irq,port,bit) \ | 67 | #define IRQ_GPIO_MAP(irqbit,irq,port,bit) \ |
68 | do { \ | 68 | do { \ |
69 | if (*(volatile unsigned short *)ITSR & irqbit) { \ | 69 | if (*(volatile unsigned short *)ITSR & irqbit) { \ |