Re: Re: [PATCH] watchdog: s3c2410-wdt: Use of_match_ptr().

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

 



> Hi,
> 
> > 
> > > Use of_match_ptr definition for the of_match_table.
> > > 
> > > Signed-off-by: Wim Van Sebroeck <wim@xxxxxxxxx>
> > > 
> > > ---
> > > 
> > > Can someone compile test this?
> > > 
> > > Thanks,
> > > Wim.
> > 
> > 
> > I get this error. You probably need to add #include.
> > 
> > scripts/kconfig/conf --silentoldconfig Kconfig
> >   CHK     include/linux/version.h
> >   CHK     include/generated/utsrelease.h
> > make[1]: `include/generated/mach-types.h' is up to date.
> >   CALL    scripts/checksyscalls.sh
> >   CHK     include/generated/compile.h
> >   CC      drivers/watchdog/watchdog_core.o
> >   CC      drivers/watchdog/watchdog_dev.o
> >   CC      drivers/watchdog/s3c2410_wdt.o
> >   LD      drivers/watchdog/watchdog.o
> > drivers/watchdog/s3c2410_wdt.c:517:3: error: implicit declaration of function ‘of_match_ptr’
> > drivers/watchdog/s3c2410_wdt.c:517:34: error: ‘s3c2410_wdt_match’ undeclared here (not in a function)
> > make[2]: *** [drivers/watchdog/s3c2410_wdt.o] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > make[1]: *** [drivers/watchdog] Error 2
> > make: *** [drivers] Error 2
> 
> Can you try with: #include <linux/of.h> ?

Sure, it compiles successfully if #include <linux/of.h> is added.


With the #include expression,
Acked-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>

Thank you.


Cheers!
MyungJoo.


> 
> Thanks,
> Wim.
> 
> 
ÿ淸º{.nÇ+돴윯돪†+%듚ÿ깁負¥Šwÿº{.nÇ+돴¥Š{±ÿ­rh껟㎍썳變}©옽Æ zÚ&j:+v돣?®w?듺2듷솳鈺Ú&¢)傘«a뛴ÿÿ鎬z요z받쀺+껠šŽ듶¢jÿŠw療f



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux