diff options
| author | Eric Benard <[email protected]> | 2014-04-04 19:05:52 +0200 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2014-04-15 12:23:56 +0200 |
| commit | 93ad66ced3fde36114aa2d521668d2cd2141fee6 (patch) | |
| tree | 72367f59125793527f90f4de88d8f0440f4eb5a9 /arch/arm/include | |
| parent | 1b82491ee6ee1e986e5521b33692a00e1f38fe75 (diff) | |
imx-common: add board_video_skip
this function is shared by several boards and thus can be factorized
Signed-off-by: Eric Bénard <[email protected]>
Acked-by: Eric Nelson <[email protected]>
Acked-by: Stefano Babic <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/imx-common/video.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/video.h b/arch/arm/include/asm/imx-common/video.h new file mode 100644 index 00000000000..e0c4ef45083 --- /dev/null +++ b/arch/arm/include/asm/imx-common/video.h @@ -0,0 +1,20 @@ +/* + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __IMX_VIDEO_H_ +#define __IMX_VIDEO_H_ + +#include <linux/fb.h> +#include <ipu_pixfmt.h> + +struct display_info_t { + int bus; + int addr; + int pixfmt; + int (*detect)(struct display_info_t const *dev); + void (*enable)(struct display_info_t const *dev); + struct fb_videomode mode; +}; + +#endif |
