Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203757
b: refs/heads/master
c: f78f09f
h: refs/heads/master
i:
  203755: c037aa6
v: v3
  • Loading branch information
Jonas Bonn authored and David S. Miller committed Jul 27, 2010
1 parent 4723c60 commit 9b2be67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 08451e2587dc8d8c34cbbb8edc88a6e4fa8946e6
refs/heads/master: f78f09f76540c9a986bc321a186a291f4bb40925
8 changes: 4 additions & 4 deletions trunk/drivers/net/ethoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ static void ethoc_mdio_poll(struct net_device *dev)
{
}

static int ethoc_mdio_probe(struct net_device *dev)
static int __devinit ethoc_mdio_probe(struct net_device *dev)
{
struct ethoc *priv = netdev_priv(dev);
struct phy_device *phy;
Expand Down Expand Up @@ -871,7 +871,7 @@ static const struct net_device_ops ethoc_netdev_ops = {
* ethoc_probe() - initialize OpenCores ethernet MAC
* pdev: platform device
*/
static int ethoc_probe(struct platform_device *pdev)
static int __devinit ethoc_probe(struct platform_device *pdev)
{
struct net_device *netdev = NULL;
struct resource *res = NULL;
Expand Down Expand Up @@ -1080,7 +1080,7 @@ static int ethoc_probe(struct platform_device *pdev)
* ethoc_remove() - shutdown OpenCores ethernet MAC
* @pdev: platform device
*/
static int ethoc_remove(struct platform_device *pdev)
static int __devexit ethoc_remove(struct platform_device *pdev)
{
struct net_device *netdev = platform_get_drvdata(pdev);
struct ethoc *priv = netdev_priv(netdev);
Expand Down Expand Up @@ -1121,7 +1121,7 @@ static int ethoc_resume(struct platform_device *pdev)

static struct platform_driver ethoc_driver = {
.probe = ethoc_probe,
.remove = ethoc_remove,
.remove = __devexit_p(ethoc_remove),
.suspend = ethoc_suspend,
.resume = ethoc_resume,
.driver = {
Expand Down

0 comments on commit 9b2be67

Please sign in to comment.