Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341753
b: refs/heads/master
c: 2791cf7
h: refs/heads/master
i:
  341751: e0d529b
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Dec 3, 2012
1 parent 0a6651f commit d48c8da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 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: 21cf689b16afa08fe8b02dfadaea88500d6c73c6
refs/heads/master: 2791cf7a73d4c0ab110bcf21b5c0575efbe934d0
24 changes: 12 additions & 12 deletions trunk/drivers/net/ethernet/3com/3c509.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
#include <asm/io.h>
#include <asm/irq.h>

static char version[] __devinitdata = DRV_NAME ".c:" DRV_VERSION " " DRV_RELDATE " becker@scyld.com\n";
static char version[] = DRV_NAME ".c:" DRV_VERSION " " DRV_RELDATE " becker@scyld.com\n";

#ifdef EL3_DEBUG
static int el3_debug = EL3_DEBUG;
Expand Down Expand Up @@ -184,7 +184,7 @@ static int max_interrupt_work = 10;
static int nopnp;
#endif

static int __devinit el3_common_init(struct net_device *dev);
static int el3_common_init(struct net_device *dev);
static void el3_common_remove(struct net_device *dev);
static ushort id_read_eeprom(int index);
static ushort read_eeprom(int ioaddr, int index);
Expand Down Expand Up @@ -270,7 +270,7 @@ static int el3_isa_id_sequence(__be16 *phys_addr)

}

static void __devinit el3_dev_fill(struct net_device *dev, __be16 *phys_addr,
static void el3_dev_fill(struct net_device *dev, __be16 *phys_addr,
int ioaddr, int irq, int if_port,
enum el3_cardtype type)
{
Expand All @@ -283,7 +283,7 @@ static void __devinit el3_dev_fill(struct net_device *dev, __be16 *phys_addr,
lp->type = type;
}

static int __devinit el3_isa_match(struct device *pdev,
static int el3_isa_match(struct device *pdev,
unsigned int ndev)
{
struct net_device *dev;
Expand Down Expand Up @@ -341,7 +341,7 @@ static int __devinit el3_isa_match(struct device *pdev,
return 1;
}

static int __devexit el3_isa_remove(struct device *pdev,
static int el3_isa_remove(struct device *pdev,
unsigned int ndev)
{
el3_device_remove(pdev);
Expand Down Expand Up @@ -382,7 +382,7 @@ static int el3_isa_resume(struct device *dev, unsigned int n)

static struct isa_driver el3_isa_driver = {
.match = el3_isa_match,
.remove = __devexit_p(el3_isa_remove),
.remove = el3_isa_remove,
#ifdef CONFIG_PM
.suspend = el3_isa_suspend,
.resume = el3_isa_resume,
Expand All @@ -406,7 +406,7 @@ static struct pnp_device_id el3_pnp_ids[] = {
};
MODULE_DEVICE_TABLE(pnp, el3_pnp_ids);

static int __devinit el3_pnp_probe(struct pnp_dev *pdev,
static int el3_pnp_probe(struct pnp_dev *pdev,
const struct pnp_device_id *id)
{
short i;
Expand Down Expand Up @@ -445,7 +445,7 @@ static int __devinit el3_pnp_probe(struct pnp_dev *pdev,
return 0;
}

static void __devexit el3_pnp_remove(struct pnp_dev *pdev)
static void el3_pnp_remove(struct pnp_dev *pdev)
{
el3_common_remove(pnp_get_drvdata(pdev));
pnp_set_drvdata(pdev, NULL);
Expand All @@ -467,7 +467,7 @@ static struct pnp_driver el3_pnp_driver = {
.name = "3c509",
.id_table = el3_pnp_ids,
.probe = el3_pnp_probe,
.remove = __devexit_p(el3_pnp_remove),
.remove = el3_pnp_remove,
#ifdef CONFIG_PM
.suspend = el3_pnp_suspend,
.resume = el3_pnp_resume,
Expand Down Expand Up @@ -496,7 +496,7 @@ static struct eisa_driver el3_eisa_driver = {
.driver = {
.name = "3c579",
.probe = el3_eisa_probe,
.remove = __devexit_p (el3_device_remove),
.remove = el3_device_remove,
.suspend = el3_suspend,
.resume = el3_resume,
}
Expand All @@ -519,7 +519,7 @@ static const struct net_device_ops netdev_ops = {
#endif
};

static int __devinit el3_common_init(struct net_device *dev)
static int el3_common_init(struct net_device *dev)
{
struct el3_private *lp = netdev_priv(dev);
int err;
Expand Down Expand Up @@ -618,7 +618,7 @@ static int __init el3_eisa_probe (struct device *device)
/* This remove works for all device types.
*
* The net dev must be stored in the driver data field */
static int __devexit el3_device_remove (struct device *device)
static int el3_device_remove(struct device *device)
{
struct net_device *dev;

Expand Down

0 comments on commit d48c8da

Please sign in to comment.