Author: andrew Date: Tue Dec 13 13:07:17 2016 New Revision: 310020 URL: https://svnweb.freebsd.org/changeset/base/310020
Log: Use platform_*_t to check the platform function signatures are correct in the Rockchip platform code and correct the one place they differ. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/rockchip/rk30xx_machdep.c Modified: head/sys/arm/rockchip/rk30xx_machdep.c ============================================================================== --- head/sys/arm/rockchip/rk30xx_machdep.c Tue Dec 13 11:43:46 2016 (r310019) +++ head/sys/arm/rockchip/rk30xx_machdep.c Tue Dec 13 13:07:17 2016 (r310020) @@ -52,6 +52,11 @@ __FBSDID("$FreeBSD$"); #include "platform_if.h" +static platform_lastaddr_t rk30xx_lastaddr; +static platform_devmap_init_t rk30xx_devmap_init; +static platform_late_init_t rk30xx_late_init; +static platform_cpu_reset_t rk30xx_cpu_reset; + static vm_offset_t rk30xx_lastaddr(platform_t plat) { @@ -82,7 +87,7 @@ rk30xx_devmap_init(platform_t plat) } static void -rk30xx_cpu_reset() +rk30xx_cpu_reset(platform_t plat) { rk30_wd_watchdog_reset(); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"