diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/Kbuild | 1 | ||||
-rw-r--r-- | include/linux/omapfb.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 5b0d997f23ef..e2ea0b2159cd 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild | |||
@@ -126,6 +126,7 @@ header-y += nfs2.h | |||
126 | header-y += nfs4_mount.h | 126 | header-y += nfs4_mount.h |
127 | header-y += nfs_mount.h | 127 | header-y += nfs_mount.h |
128 | header-y += nl80211.h | 128 | header-y += nl80211.h |
129 | header-y += omapfb.h | ||
129 | header-y += param.h | 130 | header-y += param.h |
130 | header-y += pci_regs.h | 131 | header-y += pci_regs.h |
131 | header-y += perf_event.h | 132 | header-y += perf_event.h |
diff --git a/include/linux/omapfb.h b/include/linux/omapfb.h index f46c40ac6d45..9bdd91486b49 100644 --- a/include/linux/omapfb.h +++ b/include/linux/omapfb.h | |||
@@ -57,6 +57,7 @@ | |||
57 | #define OMAPFB_WAITFORGO OMAP_IO(60) | 57 | #define OMAPFB_WAITFORGO OMAP_IO(60) |
58 | #define OMAPFB_GET_VRAM_INFO OMAP_IOR(61, struct omapfb_vram_info) | 58 | #define OMAPFB_GET_VRAM_INFO OMAP_IOR(61, struct omapfb_vram_info) |
59 | #define OMAPFB_SET_TEARSYNC OMAP_IOW(62, struct omapfb_tearsync_info) | 59 | #define OMAPFB_SET_TEARSYNC OMAP_IOW(62, struct omapfb_tearsync_info) |
60 | #define OMAPFB_GET_DISPLAY_INFO OMAP_IOR(63, struct omapfb_display_info) | ||
60 | 61 | ||
61 | #define OMAPFB_CAPS_GENERIC_MASK 0x00000fff | 62 | #define OMAPFB_CAPS_GENERIC_MASK 0x00000fff |
62 | #define OMAPFB_CAPS_LCDC_MASK 0x00fff000 | 63 | #define OMAPFB_CAPS_LCDC_MASK 0x00fff000 |
@@ -206,6 +207,14 @@ struct omapfb_tearsync_info { | |||
206 | __u16 reserved2; | 207 | __u16 reserved2; |
207 | }; | 208 | }; |
208 | 209 | ||
210 | struct omapfb_display_info { | ||
211 | __u16 xres; | ||
212 | __u16 yres; | ||
213 | __u32 width; /* phys width of the display in micrometers */ | ||
214 | __u32 height; /* phys height of the display in micrometers */ | ||
215 | __u32 reserved[5]; | ||
216 | }; | ||
217 | |||
209 | #ifdef __KERNEL__ | 218 | #ifdef __KERNEL__ |
210 | 219 | ||
211 | #include <plat/board.h> | 220 | #include <plat/board.h> |