mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
fbdev: move FBIO_WAITFORVSYNC to linux/fb.h
FBIO_WAITFORVSYNC is currently implemented by matroxfb, atyfb, intelfb and more. All of them keep redefining the same FBIO_WAITFORVSYNC macro over and over again, so move it to linux/fb.h and clean up those duplicate defines. Signed-off-by: Grazvydas Ignotas <[email protected]> Cc: Ville Syrjala <[email protected]> Cc: Grant Likely <[email protected]> Cc: Maik Broemme <[email protected]> Cc: Petr Vandrovec <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Krzysztof Helt <[email protected]> Cc: "Hiremath, Vaibhav" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1f9c3e1f07
commit
49c39b4953
6 changed files with 2 additions and 14 deletions
|
|
@ -1820,10 +1820,6 @@ struct atyclk {
|
|||
#define ATYIO_FEATW 0x41545903 /* ATY\03 */
|
||||
#endif
|
||||
|
||||
#ifndef FBIO_WAITFORVSYNC
|
||||
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
|
||||
#endif
|
||||
|
||||
static int atyfb_ioctl(struct fb_info *info, u_int cmd, u_long arg)
|
||||
{
|
||||
struct atyfb_par *par = (struct atyfb_par *) info->par;
|
||||
|
|
|
|||
|
|
@ -371,10 +371,6 @@ struct intelfb_info {
|
|||
((dinfo)->chipset == INTEL_965G) || \
|
||||
((dinfo)->chipset == INTEL_965GM))
|
||||
|
||||
#ifndef FBIO_WAITFORVSYNC
|
||||
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
|
||||
#endif
|
||||
|
||||
/*** function prototypes ***/
|
||||
|
||||
extern int intelfb_var_to_depth(const struct fb_var_screeninfo *var);
|
||||
|
|
|
|||
Loading…
Reference in a new issue