Commit 5e71c605 authored by Simon Arlott's avatar Simon Arlott Committed by Adrian Bunk
Browse files

spelling fixes: arch/h8300/



Spelling fixes in arch/h8300/.
Signed-off-by: default avatarSimon Arlott <simon@fire.lp0.eu>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent 761a7e35
...@@ -53,7 +53,7 @@ void time_init(void) ...@@ -53,7 +53,7 @@ void time_init(void)
/* FIX by dqg : Set to zero for platforms that don't have tod */ /* FIX by dqg : Set to zero for platforms that don't have tod */
/* without this time is undefined and can overflow time_t, causing */ /* without this time is undefined and can overflow time_t, causing */
/* very stange errors */ /* very strange errors */
year = 1980; year = 1980;
mon = day = 1; mon = day = 1;
hour = min = sec = 0; hour = min = sec = 0;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* Cloned from Linux/m68k. * Cloned from Linux/m68k.
* *
* No original Copyright holder listed, * No original Copyright holder listed,
* Probabily original (C) Roman Zippel (assigned DJD, 1999) * Probable original (C) Roman Zippel (assigned DJD, 1999)
* *
* Copyright 1999-2000 D. Jeff Dionne, <jeff@rt-control.com> * Copyright 1999-2000 D. Jeff Dionne, <jeff@rt-control.com>
* *
......
...@@ -179,7 +179,7 @@ int request_irq(unsigned int irq, ...@@ -179,7 +179,7 @@ int request_irq(unsigned int irq,
if (use_kmalloc) if (use_kmalloc)
irq_handle = kmalloc(sizeof(irq_handler_t), GFP_ATOMIC); irq_handle = kmalloc(sizeof(irq_handler_t), GFP_ATOMIC);
else { else {
/* use bootmem allocater */ /* use bootmem allocator */
irq_handle = (irq_handler_t *)alloc_bootmem(sizeof(irq_handler_t)); irq_handle = (irq_handler_t *)alloc_bootmem(sizeof(irq_handler_t));
irq_handle = (irq_handler_t *)((unsigned long)irq_handle | 0x80000000); irq_handle = (irq_handler_t *)((unsigned long)irq_handle | 0x80000000);
} }
......
...@@ -63,7 +63,7 @@ static const struct irq_pins irq_assign_table1[16]={ ...@@ -63,7 +63,7 @@ static const struct irq_pins irq_assign_table1[16]={
{H8300_GPIO_P2,H8300_GPIO_B6},{H8300_GPIO_P2,H8300_GPIO_B7}, {H8300_GPIO_P2,H8300_GPIO_B6},{H8300_GPIO_P2,H8300_GPIO_B7},
}; };
/* IRQ to GPIO pinno transrate */ /* IRQ to GPIO pin translation */
#define IRQ_GPIO_MAP(irqbit,irq,port,bit) \ #define IRQ_GPIO_MAP(irqbit,irq,port,bit) \
do { \ do { \
if (*(volatile unsigned short *)ITSR & irqbit) { \ if (*(volatile unsigned short *)ITSR & irqbit) { \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment