watchdog: s3c2410-wdt: Use of_match_ptr().
함명주
Acked-byQuoted 34 lines
Hi,
Quoted 25 lines
Quoted 11 lines
Use
of_match_ptrdefinition for theof_match_table.Signed-off-by Wim Van Sebroeck <[email protected]>---
Can someone compile test this?
Thanks,
Wim.I get this error. You probably need to add #include.
scripts/kconfig/conf--silentoldconfigKconfig
CHKinclude/linux/version.h
CHKinclude/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.oQuoted 6 lines
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
Quoted 1 line
Can you try with: #include <
linux/of.h> ?
Sure, it compiles successfully if #include <linux/of.h> is added.
With the #include expression,
Thank you.
Cheers!
MyungJoo.
Quoted 5 lines
Thanks,
Wim.