patch-2.3.14 linux/drivers/net/sunhme.h

Next file: linux/drivers/net/sunlance.c
Previous file: linux/drivers/net/sunhme.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/net/sunhme.h linux/drivers/net/sunhme.h
@@ -560,7 +560,7 @@
 #ifdef CONFIG_PCI
 	struct pci_dev		 *happy_pci_dev;
 #endif
-	struct device            *dev;            /* Backpointer                       */
+	struct net_device            *dev;            /* Backpointer                       */
 	struct quattro		 *qfe_parent;	  /* For Quattro cards                 */
 	int			  qfe_ent;	  /* Which instance on quattro         */
 	struct happy_meal        *next_module;
@@ -587,7 +587,7 @@
 /* Support for QFE/Quattro cards. */
 struct quattro {
 	volatile u32		 *irq_status[4];
-	struct device		 *happy_meals[4];
+	struct net_device		 *happy_meals[4];
 	void (*handler)(int, void *, struct pt_regs *);
 
 	struct linux_sbus_device *quattro_sbus_dev;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)