drm/exynos: Staticize exynos_dpi_of_find_panel_node
Subsystems (3)
PATCH 1/3 drm/exynos: Staticize exynos_dpi_of_find_panel_node
exynos_dpi_of_find_panel_node is local to this file.
---
These patches are based on Inki Dae's tree (exynos-drm-next branch).
--- drivers/gpu/drm/exynos/exynos_drm_dpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/exynos/exynos_drm_dpi.c +1 -1
@@ -242,7 +242,7 @@ enum { FIMD_PORT_WRB, }; -struct device_node *exynos_dpi_of_find_panel_node (struct device *dev) +static struct device_node *exynos_dpi_of_find_panel_node (struct device *dev) {struct device_node *np, *ep;
Signature · 1 line
1.7.9.5
PATCH 2/3 drm/exynos: Remove duplicate inclusion of i2c.h
i2c.h was included twice.
--- drivers/gpu/drm/exynos/exynos_hdmi.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/exynos/exynos_hdmi.c +0 -1
@@ -34,7 +34,6 @@#include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> -#include <linux/i2c.h> #include <linux/of_gpio.h> #include <linux/hdmi.h> #include <linux/component.h>
Signature · 1 line
1.7.9.5
Re: [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h
Hi Sachin,
Quoted 13 lines · Sachin Kamat
i2c.hwas included twice.Signed-off-by Sachin Kamat <[email protected]>--- drivers/gpu/drm/exynos/exynos_hdmi.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/exynos/exynos_hdmi.c +0
-0
drivers/gpu/drm/exynos/exynos_hdmi.c line 39
Quoted 7 lines
drivers/gpu/drm/exynos/exynos_hdmi.c +0
-1@@ -34,7 +34,6 @@#include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> -#include <linux/i2c.h> #include <linux/of_gpio.h> #include <linux/hdmi.h> #include <linux/component.h>
It would be also good to order headers alphabetically.
Regards
Andrzej
Re: [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h
Hi Andrzej,
Quoted 10 lines · Andrzej Hajda
Hi Sachin,
Quoted 7 lines · Sachin Kamat
i2c.hwas included twice.Signed-off-by Sachin Kamat <[email protected]>--- drivers/gpu/drm/exynos/exynos_hdmi.c | 1 - 1 file changed, 1 deletion(-)
Quoted 15 lines
drivers/gpu/drm/exynos/exynos_hdmi.c line 39
Quoted 13 lines
drivers/gpu/drm/exynos/exynos_hdmi.c +0
-1@@ -34,7 +34,6 @@#include <linux/io.h> #include <linux/of.h> #include <linux/of_address.h> -#include <linux/i2c.h> #include <linux/of_gpio.h> #include <linux/hdmi.h> #include <linux/component.h> It would be also good to order headers alphabetically.
That is outside the scope of this patch and can be taken up separately if needed.
Signature · 2 lines
With warm regards, Sachin
PATCH 3/3 drm/exynos: Staticize local symbols in exynos_hdmi.c
In reply to Sachin KamatThese symbols are local to this file.
--- drivers/gpu/drm/exynos/exynos_hdmi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/exynos/exynos_hdmi.c +3 -3
@@ -576,21 +576,21 @@ static const struct hdmiphy_config hdmiphy_5420_configs[] = { }, }; -struct hdmi_driver_data exynos5420_hdmi_driver_data = { +static struct hdmi_driver_data exynos5420_hdmi_driver_data = { .type =HDMI_TYPE14 , .phy_confs = hdmiphy_5420_configs, .phy_conf_count =ARRAY_SIZE (hdmiphy_5420_configs), .is_apb_phy =1 , }; -struct hdmi_driver_data exynos4212_hdmi_driver_data = { +static struct hdmi_driver_data exynos4212_hdmi_driver_data = { .type =HDMI_TYPE14 , .phy_confs = hdmiphy_v14_configs, .phy_conf_count =ARRAY_SIZE (hdmiphy_v14_configs), .is_apb_phy =0 , }; -struct hdmi_driver_data exynos5_hdmi_driver_data = { +static struct hdmi_driver_data exynos5_hdmi_driver_data = { .type =HDMI_TYPE14 , .phy_confs = hdmiphy_v13_configs, .phy_conf_count =ARRAY_SIZE (hdmiphy_v13_configs),
Signature · 1 line
1.7.9.5