mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 23:24:11 +08:00
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>
This commit is contained in:
parent
761a7e3544
commit
5e71c60515
@ -53,7 +53,7 @@ void time_init(void)
|
||||
|
||||
/* FIX by dqg : Set to zero for platforms that don't have tod */
|
||||
/* without this time is undefined and can overflow time_t, causing */
|
||||
/* very stange errors */
|
||||
/* very strange errors */
|
||||
year = 1980;
|
||||
mon = day = 1;
|
||||
hour = min = sec = 0;
|
||||
|
@ -5,7 +5,7 @@
|
||||
* Cloned from Linux/m68k.
|
||||
*
|
||||
* 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>
|
||||
*
|
||||
|
@ -179,7 +179,7 @@ int request_irq(unsigned int irq,
|
||||
if (use_kmalloc)
|
||||
irq_handle = kmalloc(sizeof(irq_handler_t), GFP_ATOMIC);
|
||||
else {
|
||||
/* use bootmem allocater */
|
||||
/* use bootmem allocator */
|
||||
irq_handle = (irq_handler_t *)alloc_bootmem(sizeof(irq_handler_t));
|
||||
irq_handle = (irq_handler_t *)((unsigned long)irq_handle | 0x80000000);
|
||||
}
|
||||
|
@ -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},
|
||||
};
|
||||
|
||||
/* IRQ to GPIO pinno transrate */
|
||||
/* IRQ to GPIO pin translation */
|
||||
#define IRQ_GPIO_MAP(irqbit,irq,port,bit) \
|
||||
do { \
|
||||
if (*(volatile unsigned short *)ITSR & irqbit) { \
|
||||
|
Loading…
Reference in New Issue
Block a user