Re: [PATCH 1/1] ARCH: OMAP: Removes unnecessary __init at some extern'ed prototypes

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

 



* David Cohen <dacohen@xxxxxxxxx> [071221 15:17]:
> On Dec 21, 2007 3:09 PM, Carlos Aguiar <carlos.aguiar@xxxxxxxxxxx> wrote:
> > From: Carlos Eduardo Aguiar <carlos.aguiar@xxxxxxxxxxx>
> >
> > This patch removes unnecessary __init at some extern'ed prototypes.
> >
> > Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@xxxxxxxxxxx>
> 
> Acked-by: David Cohen <david.cohen@xxxxxxxxxxx>
> 
> > ---
> >  include/asm-arm/arch-omap/board-2430sdp.h |    4 ++--
> >  include/asm-arm/arch-omap/board-h3.h      |    2 +-
> >  2 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/include/asm-arm/arch-omap/board-2430sdp.h b/include/asm-arm/arch-omap/board-2430sdp.h
> > index b6677fe..3869182 100644
> > --- a/include/asm-arm/arch-omap/board-2430sdp.h
> > +++ b/include/asm-arm/arch-omap/board-2430sdp.h
> > @@ -46,7 +46,7 @@
> >  #define NR_IRQS                                (IH_TWL4030_GPIO_END)
> >
> >  /* Function prototypes */
> > -extern void __init sdp2430_flash_init(void);
> > -extern void __init sdp2430_usb_init(void);
> > +extern void sdp2430_flash_init(void);
> > +extern void sdp2430_usb_init(void);
> >
> >  #endif /* __ASM_ARCH_OMAP_2430SDP_H */

Skipping the chunk above as it's already fixed by the patch
from Madhusudhan Chikkature.

> > diff --git a/include/asm-arm/arch-omap/board-h3.h b/include/asm-arm/arch-omap/board-h3.h
> > index 1c2b55c..0f64044 100644
> > --- a/include/asm-arm/arch-omap/board-h3.h
> > +++ b/include/asm-arm/arch-omap/board-h3.h
> > @@ -36,7 +36,7 @@
> >
> >  #define NR_IRQS                                (MAXIRQNUM + 1)
> >
> > -extern void __init h3_mmc_init(void);
> > +extern void h3_mmc_init(void);
> >  extern void h3_mmc_slot_cover_handler(void *arg, int state);
> >
> >  #endif /*  __ASM_ARCH_OMAP_H3_H */
> > -- 1.5.3.GIT

Pushing this part today.

Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux