|
@@ -14,25 +14,25 @@
|
|
|
#include <linux/fb.h>
|
|
|
|
|
|
/* Proprietary FB_SYNC_ flags */
|
|
|
-#define FB_SYNC_OE_ACT_HIGH 0x80000000
|
|
|
-#define FB_SYNC_CLK_INVERT 0x40000000
|
|
|
-#define FB_SYNC_DATA_INVERT 0x20000000
|
|
|
-#define FB_SYNC_CLK_IDLE_EN 0x10000000
|
|
|
-#define FB_SYNC_SHARP_MODE 0x08000000
|
|
|
-#define FB_SYNC_SWAP_RGB 0x04000000
|
|
|
-#define FB_SYNC_CLK_SEL_EN 0x02000000
|
|
|
+#define FB_SYNC_OE_ACT_HIGH 0x80000000
|
|
|
+#define FB_SYNC_CLK_INVERT 0x40000000
|
|
|
+#define FB_SYNC_DATA_INVERT 0x20000000
|
|
|
+#define FB_SYNC_CLK_IDLE_EN 0x10000000
|
|
|
+#define FB_SYNC_SHARP_MODE 0x08000000
|
|
|
+#define FB_SYNC_SWAP_RGB 0x04000000
|
|
|
+#define FB_SYNC_CLK_SEL_EN 0x02000000
|
|
|
|
|
|
/**
|
|
|
* struct mx3fb_platform_data - mx3fb platform data
|
|
|
*
|
|
|
- * @dma_dev: pointer to the dma-device, used for dma-slave connection
|
|
|
- * @mode: pointer to a platform-provided per mxc_register_fb() videomode
|
|
|
+ * @dma_dev: pointer to the dma-device, used for dma-slave connection
|
|
|
+ * @mode: pointer to a platform-provided per mxc_register_fb() videomode
|
|
|
*/
|
|
|
struct mx3fb_platform_data {
|
|
|
- struct device *dma_dev;
|
|
|
- const char *name;
|
|
|
- const struct fb_videomode *mode;
|
|
|
- int num_modes;
|
|
|
+ struct device *dma_dev;
|
|
|
+ const char *name;
|
|
|
+ const struct fb_videomode *mode;
|
|
|
+ int num_modes;
|
|
|
};
|
|
|
|
|
|
#endif
|