summaryrefslogtreecommitdiff
path: root/linux/sis_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/sis_drm.h')
-rw-r--r--linux/sis_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/sis_drm.h b/linux/sis_drm.h
index 2cf4dde35..339ed5a00 100644
--- a/linux/sis_drm.h
+++ b/linux/sis_drm.h
@@ -17,6 +17,8 @@ typedef struct {
unsigned int left, right;
} drm_sis_flip_t;
+#ifdef __KERNEL__
+
int sis_fb_alloc(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg);
int sis_fb_free(struct inode *inode, struct file *filp, unsigned int cmd,
@@ -30,3 +32,5 @@ int sisp_agp_free(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg);
#endif
+
+#endif