Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344422
b: refs/heads/master
c: 941c77f
h: refs/heads/master
v: v3
  • Loading branch information
Brian Norris authored and Jeff Garzik committed Dec 3, 2012
1 parent bcd7fa8 commit 32b3a94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 5416912af75de9cba5d1c75b99a7888b0bbbd2fb
refs/heads/master: 941c77fd0f2f6f5964a3f9fba4e8779714faf832
5 changes: 3 additions & 2 deletions trunk/drivers/ata/ahci_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static struct scsi_host_template ahci_platform_sht = {
AHCI_SHT("ahci_platform"),
};

static int __init ahci_probe(struct platform_device *pdev)
static int __devinit ahci_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct ahci_platform_data *pdata = dev_get_platdata(dev);
Expand Down Expand Up @@ -326,6 +326,7 @@ static const struct of_device_id ahci_of_match[] = {
MODULE_DEVICE_TABLE(of, ahci_of_match);

static struct platform_driver ahci_driver = {
.probe = ahci_probe,
.remove = __devexit_p(ahci_remove),
.driver = {
.name = "ahci",
Expand All @@ -338,7 +339,7 @@ static struct platform_driver ahci_driver = {

static int __init ahci_init(void)
{
return platform_driver_probe(&ahci_driver, ahci_probe);
return platform_driver_register(&ahci_driver);
}
module_init(ahci_init);

Expand Down

0 comments on commit 32b3a94

Please sign in to comment.