Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17408
b: refs/heads/master
c: 50465d0
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jan 9, 2006
1 parent bd354ad commit 61dc386
Show file tree
Hide file tree
Showing 2 changed files with 7 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: e9368f8288338c25d8a339c91b15e17ebf33752d
refs/heads/master: 50465d0da69e8d8b5493c5b752f0aa6d039c3914
12 changes: 6 additions & 6 deletions trunk/drivers/net/arm/am79c961a.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,8 @@ static void __init am79c961_banner(void)
printk(KERN_INFO "%s", version);
}

static int __init am79c961_probe(struct device *_dev)
static int __init am79c961_probe(struct platform_device *pdev)
{
struct platform_device *pdev = to_platform_device(_dev);
struct resource *res;
struct net_device *dev;
struct dev_priv *priv;
Expand Down Expand Up @@ -758,15 +757,16 @@ static int __init am79c961_probe(struct device *_dev)
return ret;
}

static struct device_driver am79c961_driver = {
.name = "am79c961",
.bus = &platform_bus_type,
static struct platform_driver am79c961_driver = {
.probe = am79c961_probe,
.driver = {
.name = "am79c961",
},
};

static int __init am79c961_init(void)
{
return driver_register(&am79c961_driver);
return platform_driver_register(&am79c961_driver);
}

__initcall(am79c961_init);

0 comments on commit 61dc386

Please sign in to comment.