Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/exynos: remove platform data structures and include/drm/exynos_drm.h

Platform data structures are not used for long time so the whole header
file can be safely removed.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>

authored by

Andrzej Hajda and committed by
Inki Dae
d775acdd 3e8a4738

-86
-86
include/drm/exynos_drm.h
··· 1 - /* exynos_drm.h 2 - * 3 - * Copyright (c) 2011 Samsung Electronics Co., Ltd. 4 - * Authors: 5 - * Inki Dae <inki.dae@samsung.com> 6 - * Joonyoung Shim <jy0922.shim@samsung.com> 7 - * Seung-Woo Kim <sw0312.kim@samsung.com> 8 - * 9 - * This program is free software; you can redistribute it and/or modify it 10 - * under the terms of the GNU General Public License as published by the 11 - * Free Software Foundation; either version 2 of the License, or (at your 12 - * option) any later version. 13 - */ 14 - #ifndef _EXYNOS_DRM_H_ 15 - #define _EXYNOS_DRM_H_ 16 - 17 - #include <uapi/drm/exynos_drm.h> 18 - #include <video/videomode.h> 19 - 20 - /** 21 - * Platform Specific Structure for DRM based FIMD. 22 - * 23 - * @default_win: default window layer number to be used for UI. 24 - * @bpp: default bit per pixel. 25 - */ 26 - struct exynos_drm_fimd_pdata { 27 - u32 vidcon0; 28 - u32 vidcon1; 29 - unsigned int default_win; 30 - unsigned int bpp; 31 - }; 32 - 33 - /** 34 - * Platform Specific Structure for DRM based HDMI. 35 - * 36 - * @hdmi_dev: device point to specific hdmi driver. 37 - * @mixer_dev: device point to specific mixer driver. 38 - * 39 - * this structure is used for common hdmi driver and each device object 40 - * would be used to access specific device driver(hdmi or mixer driver) 41 - */ 42 - struct exynos_drm_common_hdmi_pd { 43 - struct device *hdmi_dev; 44 - struct device *mixer_dev; 45 - }; 46 - 47 - /** 48 - * Platform Specific Structure for DRM based HDMI core. 49 - * 50 - * @is_v13: set if hdmi version 13 is. 51 - * @cfg_hpd: function pointer to configure hdmi hotplug detection pin 52 - * @get_hpd: function pointer to get value of hdmi hotplug detection pin 53 - */ 54 - struct exynos_drm_hdmi_pdata { 55 - bool is_v13; 56 - void (*cfg_hpd)(bool external); 57 - int (*get_hpd)(void); 58 - }; 59 - 60 - /** 61 - * Platform Specific Structure for DRM based IPP. 62 - * 63 - * @inv_pclk: if set 1. invert pixel clock 64 - * @inv_vsync: if set 1. invert vsync signal for wb 65 - * @inv_href: if set 1. invert href signal 66 - * @inv_hsync: if set 1. invert hsync signal for wb 67 - */ 68 - struct exynos_drm_ipp_pol { 69 - unsigned int inv_pclk; 70 - unsigned int inv_vsync; 71 - unsigned int inv_href; 72 - unsigned int inv_hsync; 73 - }; 74 - 75 - /** 76 - * Platform Specific Structure for DRM based FIMC. 77 - * 78 - * @pol: current hardware block polarity settings. 79 - * @clk_rate: current hardware clock rate. 80 - */ 81 - struct exynos_drm_fimc_pdata { 82 - struct exynos_drm_ipp_pol pol; 83 - int clk_rate; 84 - }; 85 - 86 - #endif /* _EXYNOS_DRM_H_ */