drm: Move definition of EREMOTEIO to drmP.h
It will be used by both i915 and radeon drivers. Add ERESTARTSYS definition at the same time.
This commit is contained in:
parent
74eb6a63ca
commit
285be846af
@ -1411,5 +1411,10 @@ do { \
|
||||
#define KTR_DRM KTR_DEV
|
||||
#define KTR_DRM_REG KTR_SPARE3
|
||||
|
||||
/* Error codes conversion from Linux to FreeBSD. */
|
||||
/* XXXKIB what is the right code for EREMOTEIO on FreeBSD? */
|
||||
#define EREMOTEIO ENXIO
|
||||
#define ERESTARTSYS ERESTART
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* _DRM_P_H_ */
|
||||
|
@ -43,9 +43,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#define DP_LINK_CONFIGURATION_SIZE 9
|
||||
|
||||
/* XXXKIB what is the right code for the FreeBSD ? */
|
||||
#define EREMOTEIO ENXIO
|
||||
|
||||
struct intel_dp {
|
||||
struct intel_encoder base;
|
||||
uint32_t output_reg;
|
||||
|
Loading…
Reference in New Issue
Block a user