* [PATCH 1/3] drm/exynos: Staticize exynos_dpi_of_find_panel_node
@ 2014-05-22 5:02 Sachin Kamat
2014-05-22 5:02 ` [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h Sachin Kamat
2014-05-22 5:02 ` [PATCH 3/3] drm/exynos: Staticize local symbols in exynos_hdmi.c Sachin Kamat
0 siblings, 2 replies; 5+ messages in thread
From: Sachin Kamat @ 2014-05-22 5:02 UTC (permalink / raw)
To: dri-devel; +Cc: sachin.kamat
exynos_dpi_of_find_panel_node is local to this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
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(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos/exynos_drm_dpi.c
index 03cb126..aefc828 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dpi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dpi.c
@@ -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;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h
2014-05-22 5:02 [PATCH 1/3] drm/exynos: Staticize exynos_dpi_of_find_panel_node Sachin Kamat
@ 2014-05-22 5:02 ` Sachin Kamat
2014-05-23 7:47 ` Andrzej Hajda
2014-05-22 5:02 ` [PATCH 3/3] drm/exynos: Staticize local symbols in exynos_hdmi.c Sachin Kamat
1 sibling, 1 reply; 5+ messages in thread
From: Sachin Kamat @ 2014-05-22 5:02 UTC (permalink / raw)
To: dri-devel; +Cc: sachin.kamat
i2c.h was included twice.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/gpu/drm/exynos/exynos_hdmi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index ed6176e..d3f9684 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -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>
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] drm/exynos: Staticize local symbols in exynos_hdmi.c
2014-05-22 5:02 [PATCH 1/3] drm/exynos: Staticize exynos_dpi_of_find_panel_node Sachin Kamat
2014-05-22 5:02 ` [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h Sachin Kamat
@ 2014-05-22 5:02 ` Sachin Kamat
1 sibling, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2014-05-22 5:02 UTC (permalink / raw)
To: dri-devel; +Cc: sachin.kamat
These symbols are local to this file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/gpu/drm/exynos/exynos_hdmi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index d3f9684..220f048 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -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),
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h
2014-05-22 5:02 ` [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h Sachin Kamat
@ 2014-05-23 7:47 ` Andrzej Hajda
2014-05-23 7:53 ` Sachin Kamat
0 siblings, 1 reply; 5+ messages in thread
From: Andrzej Hajda @ 2014-05-23 7:47 UTC (permalink / raw)
To: Sachin Kamat, dri-devel
Hi Sachin,
On 05/22/2014 07:02 AM, Sachin Kamat wrote:
> i2c.h was included twice.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> drivers/gpu/drm/exynos/exynos_hdmi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
> index ed6176e..d3f9684 100644
> --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
> +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
> @@ -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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h
2014-05-23 7:47 ` Andrzej Hajda
@ 2014-05-23 7:53 ` Sachin Kamat
0 siblings, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2014-05-23 7:53 UTC (permalink / raw)
To: Andrzej Hajda; +Cc: dri-devel@lists.freedesktop.org
Hi Andrzej,
On 23 May 2014 13:17, Andrzej Hajda <a.hajda@samsung.com> wrote:
> Hi Sachin,
>
> On 05/22/2014 07:02 AM, Sachin Kamat wrote:
>> i2c.h was included twice.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> ---
>> drivers/gpu/drm/exynos/exynos_hdmi.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
>> index ed6176e..d3f9684 100644
>> --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
>> +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
>> @@ -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.
--
With warm regards,
Sachin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-23 7:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-22 5:02 [PATCH 1/3] drm/exynos: Staticize exynos_dpi_of_find_panel_node Sachin Kamat
2014-05-22 5:02 ` [PATCH 2/3] drm/exynos: Remove duplicate inclusion of i2c.h Sachin Kamat
2014-05-23 7:47 ` Andrzej Hajda
2014-05-23 7:53 ` Sachin Kamat
2014-05-22 5:02 ` [PATCH 3/3] drm/exynos: Staticize local symbols in exynos_hdmi.c Sachin Kamat
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.