Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371662
b: refs/heads/master
c: d23b335
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed May 2, 2013
1 parent a26bde8 commit f7164a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 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: 94cf394b15f94090c8ebd874b29725d35eb54663
refs/heads/master: d23b3357a3beab8ab0f3248f8b4b04dee1fb142b
13 changes: 7 additions & 6 deletions trunk/drivers/video/omap2/dss/sdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void omapdss_sdi_set_datapairs(struct omap_dss_device *dssdev, int datapairs)
}
EXPORT_SYMBOL(omapdss_sdi_set_datapairs);

static int __init sdi_init_display(struct omap_dss_device *dssdev)
static int sdi_init_display(struct omap_dss_device *dssdev)
{
DSSDBG("SDI init\n");

Expand All @@ -268,7 +268,7 @@ static int __init sdi_init_display(struct omap_dss_device *dssdev)
return 0;
}

static struct omap_dss_device * __init sdi_find_dssdev(struct platform_device *pdev)
static struct omap_dss_device *sdi_find_dssdev(struct platform_device *pdev)
{
struct omap_dss_board_info *pdata = pdev->dev.platform_data;
const char *def_disp_name = omapdss_get_default_display_name();
Expand Down Expand Up @@ -296,7 +296,7 @@ static struct omap_dss_device * __init sdi_find_dssdev(struct platform_device *p
return def_dssdev;
}

static void __init sdi_probe_pdata(struct platform_device *sdidev)
static void sdi_probe_pdata(struct platform_device *sdidev)
{
struct omap_dss_device *plat_dssdev;
struct omap_dss_device *dssdev;
Expand Down Expand Up @@ -337,7 +337,7 @@ static void __init sdi_probe_pdata(struct platform_device *sdidev)
}
}

static void __init sdi_init_output(struct platform_device *pdev)
static void sdi_init_output(struct platform_device *pdev)
{
struct omap_dss_output *out = &sdi.output;

Expand All @@ -357,7 +357,7 @@ static void __exit sdi_uninit_output(struct platform_device *pdev)
dss_unregister_output(out);
}

static int __init omap_sdi_probe(struct platform_device *pdev)
static int omap_sdi_probe(struct platform_device *pdev)
{
sdi_init_output(pdev);

Expand All @@ -376,6 +376,7 @@ static int __exit omap_sdi_remove(struct platform_device *pdev)
}

static struct platform_driver omap_sdi_driver = {
.probe = omap_sdi_probe,
.remove = __exit_p(omap_sdi_remove),
.driver = {
.name = "omapdss_sdi",
Expand All @@ -385,7 +386,7 @@ static struct platform_driver omap_sdi_driver = {

int __init sdi_init_platform_driver(void)
{
return platform_driver_probe(&omap_sdi_driver, omap_sdi_probe);
return platform_driver_register(&omap_sdi_driver);
}

void __exit sdi_uninit_platform_driver(void)
Expand Down

0 comments on commit f7164a9

Please sign in to comment.