Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289219
b: refs/heads/master
c: 06caa41
h: refs/heads/master
i:
  289217: 5cdbf13
  289215: 82849b4
v: v3
  • Loading branch information
Stephen Boyd authored and Greg Kroah-Hartman committed Mar 9, 2012
1 parent 5c49d53 commit fd3f382
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 3ee0206b5e359aed4dd4f31834bac1d6ac657b5f
refs/heads/master: 06caa4174ef7ec0f9c1e7c898a52e737c4897714
7 changes: 2 additions & 5 deletions trunk/drivers/staging/android/ram_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void ram_console_enable_console(int enabled)
ram_console.flags &= ~CON_ENABLED;
}

static int ram_console_driver_probe(struct platform_device *pdev)
static int __init ram_console_probe(struct platform_device *pdev)
{
struct ram_console_platform_data *pdata = pdev->dev.platform_data;
struct persistent_ram_zone *prz;
Expand All @@ -75,17 +75,14 @@ static int ram_console_driver_probe(struct platform_device *pdev)
}

static struct platform_driver ram_console_driver = {
.probe = ram_console_driver_probe,
.driver = {
.name = "ram_console",
},
};

static int __init ram_console_module_init(void)
{
int err;
err = platform_driver_register(&ram_console_driver);
return err;
return platform_driver_probe(&ram_console_driver, ram_console_probe);
}

static ssize_t ram_console_read_old(struct file *file, char __user *buf,
Expand Down

0 comments on commit fd3f382

Please sign in to comment.