Re: [PATCH][MIPS] move i8259 functions to include/asm-mips/i8259.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 12 Sep 2007 23:23:33 +0900, Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> wrote:
> --- mips-orig/arch/mips/kernel/i8259.c	2007-09-12 14:37:15.447287000 +0900
> +++ mips/arch/mips/kernel/i8259.c	2007-09-12 14:26:42.007699500 +0900
> @@ -31,7 +31,10 @@
>  static int i8259A_auto_eoi = -1;
>  DEFINE_SPINLOCK(i8259A_lock);
>  /* some platforms call this... */
> -void mask_and_ack_8259A(unsigned int);
> +static void disable_8259A_irq(unsigned int irq);
> +static void enable_8259A_irq(unsigned int irq);
> +static void mask_and_ack_8259A(unsigned int irq);
> +static void init_8259A(int auto_eoi);
>  
>  static struct irq_chip i8259A_chip = {
>  	.name		= "XT-PIC",

Please drop a comment in this part too.  The comment was there just
because we had to drop "static" from mask_and_ack_8259A() at that
time.

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux