cam: fix up world compilation after previous
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
fd02926a68
commit
1d35493e46
@ -1516,11 +1516,13 @@ cam_ccb_status(union ccb *ccb)
|
|||||||
return ((cam_status)(ccb->ccb_h.status & CAM_STATUS_MASK));
|
return ((cam_status)(ccb->ccb_h.status & CAM_STATUS_MASK));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
static inline bool
|
static inline bool
|
||||||
cam_ccb_success(union ccb *ccb)
|
cam_ccb_success(union ccb *ccb)
|
||||||
{
|
{
|
||||||
return (cam_ccb_status(ccb) == CAM_REQ_CMP);
|
return (cam_ccb_status(ccb) == CAM_REQ_CMP);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void cam_calc_geometry(struct ccb_calc_geometry *ccg, int extended);
|
void cam_calc_geometry(struct ccb_calc_geometry *ccg, int extended);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user