Skip to content

Commit

Permalink
net/tokenring/olympic.c section fixes
Browse files Browse the repository at this point in the history
My previous section fix only turned one section problem into another
section problem.

This patch fixes it for real.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Apr 4, 2008
1 parent 5da4e37 commit e28e3a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/tokenring/olympic.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
* Official releases will only have an a.b.c version number format.
*/

static char version[] __devinitdata =
static char version[] =
"Olympic.c v1.0.5 6/04/02 - Peter De Schrijver & Mike Phillips" ;

static char *open_maj_error[] = {"No error", "Lobe Media Test", "Physical Insertion",
Expand Down Expand Up @@ -290,7 +290,7 @@ static int __devinit olympic_probe(struct pci_dev *pdev, const struct pci_device
return i;
}

static int __devinit olympic_init(struct net_device *dev)
static int olympic_init(struct net_device *dev)
{
struct olympic_private *olympic_priv;
u8 __iomem *olympic_mmio, *init_srb,*adapter_addr;
Expand Down Expand Up @@ -434,7 +434,7 @@ static int __devinit olympic_init(struct net_device *dev)

}

static int __devinit olympic_open(struct net_device *dev)
static int olympic_open(struct net_device *dev)
{
struct olympic_private *olympic_priv=netdev_priv(dev);
u8 __iomem *olympic_mmio=olympic_priv->olympic_mmio,*init_srb;
Expand Down

0 comments on commit e28e3a6

Please sign in to comment.