Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321015
b: refs/heads/master
c: e6765ff
h: refs/heads/master
i:
  321013: 77b5f72
  321011: 7f77dc6
  321007: f7753ad
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Laurent Pinchart committed Jun 20, 2012
1 parent 5912aff commit 0db738a
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44edebca3964824b9126c49bab1187df7df5bd89
refs/heads/master: e6765ffa6897f7fb84469bab2e1be885c57ea519
3 changes: 0 additions & 3 deletions trunk/drivers/video/exynos/exynos_dp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,6 @@ static unsigned int exynos_dp_get_lane_link_training(
case 3:
reg = exynos_dp_get_lane3_link_training(dp);
break;
default:
WARN_ON(1);
return 0;
}

return reg;
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/video/exynos/exynos_dp_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ void exynos_dp_set_link_bandwidth(struct exynos_dp_device *dp, u32 bwtype);
void exynos_dp_get_link_bandwidth(struct exynos_dp_device *dp, u32 *bwtype);
void exynos_dp_set_lane_count(struct exynos_dp_device *dp, u32 count);
void exynos_dp_get_lane_count(struct exynos_dp_device *dp, u32 *count);
void exynos_dp_set_link_bandwidth(struct exynos_dp_device *dp, u32 bwtype);
void exynos_dp_get_link_bandwidth(struct exynos_dp_device *dp, u32 *bwtype);
void exynos_dp_set_lane_count(struct exynos_dp_device *dp, u32 count);
void exynos_dp_get_lane_count(struct exynos_dp_device *dp, u32 *count);
void exynos_dp_enable_enhanced_mode(struct exynos_dp_device *dp, bool enable);
void exynos_dp_set_training_pattern(struct exynos_dp_device *dp,
enum pattern_set pattern);
Expand Down
21 changes: 21 additions & 0 deletions trunk/drivers/video/exynos/s6e8ax0.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* linux/drivers/video/backlight/s6e8ax0.h
*
* MIPI-DSI based s6e8ax0 AMOLED LCD Panel definitions.
*
* Copyright (c) 2011 Samsung Electronics
*
* Inki Dae, <inki.dae@samsung.com>
* Donghwa Lee <dh09.lee@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#ifndef _S6E8AX0_H
#define _S6E8AX0_H

extern void s6e8ax0_init(void);

#endif

7 changes: 3 additions & 4 deletions trunk/drivers/video/sh_mipi_dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ static void sh_mipi_shutdown(struct platform_device *pdev)
sh_mipi_dsi_enable(mipi, false);
}

static int __init sh_mipi_setup(struct sh_mipi *mipi,
struct sh_mipi_dsi_info *pdata)
static int sh_mipi_setup(struct sh_mipi *mipi, struct sh_mipi_dsi_info *pdata)
{
void __iomem *base = mipi->base;
struct sh_mobile_lcdc_chan_cfg *ch = pdata->lcd_chan;
Expand Down Expand Up @@ -551,7 +550,7 @@ static int __init sh_mipi_probe(struct platform_device *pdev)
return ret;
}

static int __exit sh_mipi_remove(struct platform_device *pdev)
static int __devexit sh_mipi_remove(struct platform_device *pdev)
{
struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
struct resource *res2 = platform_get_resource(pdev, IORESOURCE_MEM, 1);
Expand Down Expand Up @@ -592,7 +591,7 @@ static int __exit sh_mipi_remove(struct platform_device *pdev)
}

static struct platform_driver sh_mipi_driver = {
.remove = __exit_p(sh_mipi_remove),
.remove = __devexit_p(sh_mipi_remove),
.shutdown = sh_mipi_shutdown,
.driver = {
.name = "sh-mipi-dsi",
Expand Down

0 comments on commit 0db738a

Please sign in to comment.