Fix compile errors with the CI20
Fix mutex includes and fix a typo. The CI20 kernel is not built as part of universe. PR: 239115 Submitted by: Kai Nacke
This commit is contained in:
parent
b522e138c5
commit
e787ccc3f9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349889
@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/boot.h>
|
||||
#include <sys/cons.h>
|
||||
#include <sys/kdb.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/reboot.h>
|
||||
|
||||
#ifdef FDT
|
||||
|
@ -775,7 +775,7 @@ jz4780_mmc_read_ivar(device_t bus, device_t child, int which,
|
||||
*(int *)result = sc->sc_host.ios.power_mode;
|
||||
break;
|
||||
case MMCBR_IVAR_RETUNE_REQ:
|
||||
*(int *)result = return_req_none;
|
||||
*(int *)result = retune_req_none;
|
||||
break;
|
||||
case MMCBR_IVAR_VDD:
|
||||
*(int *)result = sc->sc_host.ios.vdd;
|
||||
|
@ -39,6 +39,8 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/rman.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/module.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/time.h>
|
||||
#include <machine/bus.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user