Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341780
b: refs/heads/master
c: 6980cbe
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Dec 3, 2012
1 parent 07f4873 commit 16bcdc7
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 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: 19d1b44aa8eba6304abdfe9761bb941f38b512f5
refs/heads/master: 6980cbe4a6dbb3d7871e99a3cbc74a572d14d327
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/natsemi/ibmlana.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ static short ibmlana_adapter_ids[] __initdata = {
0x0000
};

static char *ibmlana_adapter_names[] __devinitdata = {
static char *ibmlana_adapter_names[] = {
"IBM LAN Adapter/A",
NULL
};
Expand All @@ -916,7 +916,7 @@ static const struct net_device_ops ibmlana_netdev_ops = {
.ndo_validate_addr = eth_validate_addr,
};

static int __devinit ibmlana_init_one(struct device *kdev)
static int ibmlana_init_one(struct device *kdev)
{
struct mca_device *mdev = to_mca_device(kdev);
struct net_device *dev;
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/net/ethernet/natsemi/jazzsonic.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static const struct net_device_ops sonic_netdev_ops = {
.ndo_set_mac_address = eth_mac_addr,
};

static int __devinit sonic_probe1(struct net_device *dev)
static int sonic_probe1(struct net_device *dev)
{
static unsigned version_printed;
unsigned int silicon_revision;
Expand Down Expand Up @@ -220,7 +220,7 @@ static int __devinit sonic_probe1(struct net_device *dev)
* Probe for a SONIC ethernet controller on a Mips Jazz board.
* Actually probing is superfluous but we're paranoid.
*/
static int __devinit jazz_sonic_probe(struct platform_device *pdev)
static int jazz_sonic_probe(struct platform_device *pdev)
{
struct net_device *dev;
struct sonic_local *lp;
Expand Down Expand Up @@ -270,7 +270,7 @@ MODULE_ALIAS("platform:jazzsonic");

#include "sonic.c"

static int __devexit jazz_sonic_device_remove (struct platform_device *pdev)
static int jazz_sonic_device_remove(struct platform_device *pdev)
{
struct net_device *dev = platform_get_drvdata(pdev);
struct sonic_local* lp = netdev_priv(dev);
Expand All @@ -286,7 +286,7 @@ static int __devexit jazz_sonic_device_remove (struct platform_device *pdev)

static struct platform_driver jazz_sonic_driver = {
.probe = jazz_sonic_probe,
.remove = __devexit_p(jazz_sonic_device_remove),
.remove = jazz_sonic_device_remove,
.driver = {
.name = jazz_sonic_string,
.owner = THIS_MODULE,
Expand Down
18 changes: 9 additions & 9 deletions trunk/drivers/net/ethernet/natsemi/macsonic.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static const struct net_device_ops macsonic_netdev_ops = {
.ndo_set_mac_address = eth_mac_addr,
};

static int __devinit macsonic_init(struct net_device *dev)
static int macsonic_init(struct net_device *dev)
{
struct sonic_local* lp = netdev_priv(dev);

Expand Down Expand Up @@ -245,7 +245,7 @@ static int __devinit macsonic_init(struct net_device *dev)
memcmp(mac, "\x00\x80\x19", 3) && \
memcmp(mac, "\x00\x05\x02", 3))

static void __devinit mac_onboard_sonic_ethernet_addr(struct net_device *dev)
static void mac_onboard_sonic_ethernet_addr(struct net_device *dev)
{
struct sonic_local *lp = netdev_priv(dev);
const int prom_addr = ONBOARD_SONIC_PROM_BASE;
Expand Down Expand Up @@ -309,7 +309,7 @@ static void __devinit mac_onboard_sonic_ethernet_addr(struct net_device *dev)
eth_hw_addr_random(dev);
}

static int __devinit mac_onboard_sonic_probe(struct net_device *dev)
static int mac_onboard_sonic_probe(struct net_device *dev)
{
struct sonic_local* lp = netdev_priv(dev);
int sr;
Expand Down Expand Up @@ -420,7 +420,7 @@ static int __devinit mac_onboard_sonic_probe(struct net_device *dev)
return macsonic_init(dev);
}

static int __devinit mac_nubus_sonic_ethernet_addr(struct net_device *dev,
static int mac_nubus_sonic_ethernet_addr(struct net_device *dev,
unsigned long prom_addr,
int id)
{
Expand All @@ -435,7 +435,7 @@ static int __devinit mac_nubus_sonic_ethernet_addr(struct net_device *dev,
return 0;
}

static int __devinit macsonic_ident(struct nubus_dev *ndev)
static int macsonic_ident(struct nubus_dev *ndev)
{
if (ndev->dr_hw == NUBUS_DRHW_ASANTE_LC &&
ndev->dr_sw == NUBUS_DRSW_SONIC_LC)
Expand All @@ -460,7 +460,7 @@ static int __devinit macsonic_ident(struct nubus_dev *ndev)
return -1;
}

static int __devinit mac_nubus_sonic_probe(struct net_device *dev)
static int mac_nubus_sonic_probe(struct net_device *dev)
{
static int slots;
struct nubus_dev* ndev = NULL;
Expand Down Expand Up @@ -573,7 +573,7 @@ static int __devinit mac_nubus_sonic_probe(struct net_device *dev)
return macsonic_init(dev);
}

static int __devinit mac_sonic_probe(struct platform_device *pdev)
static int mac_sonic_probe(struct platform_device *pdev)
{
struct net_device *dev;
struct sonic_local *lp;
Expand Down Expand Up @@ -619,7 +619,7 @@ MODULE_ALIAS("platform:macsonic");

#include "sonic.c"

static int __devexit mac_sonic_device_remove (struct platform_device *pdev)
static int mac_sonic_device_remove(struct platform_device *pdev)
{
struct net_device *dev = platform_get_drvdata(pdev);
struct sonic_local* lp = netdev_priv(dev);
Expand All @@ -634,7 +634,7 @@ static int __devexit mac_sonic_device_remove (struct platform_device *pdev)

static struct platform_driver mac_sonic_driver = {
.probe = mac_sonic_probe,
.remove = __devexit_p(mac_sonic_device_remove),
.remove = mac_sonic_device_remove,
.driver = {
.name = mac_sonic_string,
.owner = THIS_MODULE,
Expand Down
14 changes: 7 additions & 7 deletions trunk/drivers/net/ethernet/natsemi/natsemi.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static int full_duplex[MAX_UNITS];
#define NATSEMI_RX_LIMIT 2046 /* maximum supported by hardware */

/* These identify the driver base version and may not be removed. */
static const char version[] __devinitconst =
static const char version[] =
KERN_INFO DRV_NAME " dp8381x driver, version "
DRV_VERSION ", " DRV_RELDATE "\n"
" originally by Donald Becker <becker@scyld.com>\n"
Expand Down Expand Up @@ -242,7 +242,7 @@ static struct {
const char *name;
unsigned long flags;
unsigned int eeprom_size;
} natsemi_pci_info[] __devinitdata = {
} natsemi_pci_info[] = {
{ "Aculab E1/T1 PMXc cPCI carrier card", NATSEMI_FLAG_IGNORE_PHY, 128 },
{ "NatSemi DP8381[56]", 0, 24 },
};
Expand Down Expand Up @@ -742,7 +742,7 @@ static void move_int_phy(struct net_device *dev, int addr)
udelay(1);
}

static void __devinit natsemi_init_media (struct net_device *dev)
static void natsemi_init_media(struct net_device *dev)
{
struct netdev_private *np = netdev_priv(dev);
u32 tmp;
Expand Down Expand Up @@ -797,8 +797,8 @@ static const struct net_device_ops natsemi_netdev_ops = {
#endif
};

static int __devinit natsemi_probe1 (struct pci_dev *pdev,
const struct pci_device_id *ent)
static int natsemi_probe1(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
struct net_device *dev;
struct netdev_private *np;
Expand Down Expand Up @@ -3214,7 +3214,7 @@ static int netdev_close(struct net_device *dev)
}


static void __devexit natsemi_remove1 (struct pci_dev *pdev)
static void natsemi_remove1(struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
void __iomem * ioaddr = ns_ioaddr(dev);
Expand Down Expand Up @@ -3353,7 +3353,7 @@ static struct pci_driver natsemi_driver = {
.name = DRV_NAME,
.id_table = natsemi_pci_tbl,
.probe = natsemi_probe1,
.remove = __devexit_p(natsemi_remove1),
.remove = natsemi_remove1,
#ifdef CONFIG_PM
.suspend = natsemi_suspend,
.resume = natsemi_resume,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/net/ethernet/natsemi/ns83820.c
Original file line number Diff line number Diff line change
Expand Up @@ -1941,7 +1941,7 @@ static const struct net_device_ops netdev_ops = {
.ndo_tx_timeout = ns83820_tx_timeout,
};

static int __devinit ns83820_init_one(struct pci_dev *pci_dev,
static int ns83820_init_one(struct pci_dev *pci_dev,
const struct pci_device_id *id)
{
struct net_device *ndev;
Expand Down Expand Up @@ -2241,7 +2241,7 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev,
return err;
}

static void __devexit ns83820_remove_one(struct pci_dev *pci_dev)
static void ns83820_remove_one(struct pci_dev *pci_dev)
{
struct net_device *ndev = pci_get_drvdata(pci_dev);
struct ns83820 *dev = PRIV(ndev); /* ok even if NULL */
Expand Down Expand Up @@ -2272,7 +2272,7 @@ static struct pci_driver driver = {
.name = "ns83820",
.id_table = ns83820_pci_tbl,
.probe = ns83820_init_one,
.remove = __devexit_p(ns83820_remove_one),
.remove = ns83820_remove_one,
#if 0 /* FIXME: implement */
.suspend = ,
.resume = ,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/net/ethernet/natsemi/xtsonic.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static int __init sonic_probe1(struct net_device *dev)
* Actually probing is superfluous but we're paranoid.
*/

int __devinit xtsonic_probe(struct platform_device *pdev)
int xtsonic_probe(struct platform_device *pdev)
{
struct net_device *dev;
struct sonic_local *lp;
Expand Down Expand Up @@ -297,7 +297,7 @@ MODULE_PARM_DESC(sonic_debug, "xtsonic debug level (1-4)");

#include "sonic.c"

static int __devexit xtsonic_device_remove (struct platform_device *pdev)
static int xtsonic_device_remove(struct platform_device *pdev)
{
struct net_device *dev = platform_get_drvdata(pdev);
struct sonic_local *lp = netdev_priv(dev);
Expand All @@ -314,7 +314,7 @@ static int __devexit xtsonic_device_remove (struct platform_device *pdev)

static struct platform_driver xtsonic_driver = {
.probe = xtsonic_probe,
.remove = __devexit_p(xtsonic_device_remove),
.remove = xtsonic_device_remove,
.driver = {
.name = xtsonic_string,
},
Expand Down

0 comments on commit 16bcdc7

Please sign in to comment.