Patchwork [-next] hydra: fix compilation

login
register
mail settings
Submitter Alexey Dobriyan
Date Dec. 9, 2008, 1:18 a.m.
Message ID <20081209011855.GA6785@x200.localdomain>
Download mbox | patch
Permalink /patch/12872/
State Accepted
Delegated to: David Miller
Headers show

Comments

Alexey Dobriyan - Dec. 9, 2008, 1:18 a.m.
drivers/net/hydra.c:163: error: 'hydra_netdev_ops' undeclared (first use in this function)

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 drivers/net/hydra.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Dec. 9, 2008, 7:50 a.m.
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue, 9 Dec 2008 04:18:55 +0300

> drivers/net/hydra.c:163: error: 'hydra_netdev_ops' undeclared (first use in this function)
> 
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Applied, thanks a lot Alexey.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- a/drivers/net/hydra.c
+++ b/drivers/net/hydra.c
@@ -94,7 +94,7 @@  static int __devinit hydra_init_one(struct zorro_dev *z,
     return 0;
 }
 
-static const struct net_device_ops etherh_netdev_ops = {
+static const struct net_device_ops hydra_netdev_ops = {
 	.ndo_open		= hydra_open,
 	.ndo_stop		= hydra_close,