diff options
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/ps3fb.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3fb.h b/include/asm-powerpc/ps3fb.h index 3f121fe4010d..8933adf535b8 100644 --- a/include/asm-powerpc/ps3fb.h +++ b/include/asm-powerpc/ps3fb.h | |||
@@ -41,4 +41,14 @@ struct ps3fb_ioctl_res { | |||
41 | __u32 num_frames; /* num of frame buffers */ | 41 | __u32 num_frames; /* num of frame buffers */ |
42 | }; | 42 | }; |
43 | 43 | ||
44 | #ifdef __KERNEL__ | ||
45 | |||
46 | #ifdef CONFIG_FB_PS3 | ||
47 | extern void ps3fb_flip_ctl(int on); | ||
48 | #else | ||
49 | static inline void ps3fb_flip_ctl(int on) {} | ||
50 | #endif | ||
51 | |||
52 | #endif /* __KERNEL__ */ | ||
53 | |||
44 | #endif /* _ASM_POWERPC_PS3FB_H_ */ | 54 | #endif /* _ASM_POWERPC_PS3FB_H_ */ |