[PATCH 1/6] staging: media: atomisp: add missing include in vlv2_plat_clock.c

Jérémy Lefaure jeremy.lefaure at lse.epita.fr
Thu Mar 16 02:47:19 UTC 2017


On Thu, 16 Mar 2017 11:25:37 +0900
Greg Kroah-Hartman <gregkh at linuxfoundation.org> wrote:

> On Wed, Mar 15, 2017 at 02:09:16PM -0400, Jérémy Lefaure wrote:
> > To use IO functions like writel, readl, ioremap_nocache and iounmap,
> > asm/io.h should be included.  
> 
> Ok, but:
> 
> > 
> > Signed-off-by: Jérémy Lefaure <jeremy.lefaure at lse.epita.fr>
> > ---
> >  drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c b/drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c
> > index a8ca93d..25e939c 100644
> > --- a/drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c
> > +++ b/drivers/staging/media/atomisp/platform/clock/vlv2_plat_clock.c
> > @@ -20,6 +20,7 @@
> >   */
> >  
> >  #include <linux/err.h>
> > +#include <linux/io.h>  
> 
> linux/io.h is what you included :(
> 
Oh yes, I changed it after the checkpatch warning but I forgot to
change the commit message. I suppose that I should resend only this
patch, not the whole serie ?

Thanks,
Jérémy


More information about the devel mailing list