mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:01:13 +07:00
drm/sis: add extern C guard for the UAPI header
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
ea526b7f17
commit
81dda38710
@ -29,6 +29,10 @@
|
|||||||
|
|
||||||
#include "drm.h"
|
#include "drm.h"
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* SiS specific ioctls */
|
/* SiS specific ioctls */
|
||||||
#define NOT_USED_0_3
|
#define NOT_USED_0_3
|
||||||
#define DRM_SIS_FB_ALLOC 0x04
|
#define DRM_SIS_FB_ALLOC 0x04
|
||||||
@ -66,4 +70,8 @@ typedef struct {
|
|||||||
unsigned long offset, size;
|
unsigned long offset, size;
|
||||||
} drm_sis_fb_t;
|
} drm_sis_fb_t;
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __SIS_DRM_H__ */
|
#endif /* __SIS_DRM_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user