[patch] 2.6.0-test6: correct hdlcdrv.h prototypes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 27, 2003 at 06:27:35PM -0700, Linus Torvalds wrote:
>...
> Summary of changes from v2.6.0-test5 to v2.6.0-test6
> ============================================
>...
> Stephen Hemminger:
>...
>   o (1/4) Update baycom drivers for 2.6
>...

This patch changed two functions but not the corresponding prototypes in 
the header file resulting in some compile warnings.

The patch below updates hdlcdrv.h .

cu
Adrian

--- linux-2.6.0-test6-full/include/linux/hdlcdrv.h.old	2003-09-28 21:52:00.000000000 +0200
+++ linux-2.6.0-test6-full/include/linux/hdlcdrv.h	2003-09-28 22:16:37.000000000 +0200
@@ -359,11 +359,11 @@
 void hdlcdrv_receiver(struct net_device *, struct hdlcdrv_state *);
 void hdlcdrv_transmitter(struct net_device *, struct hdlcdrv_state *);
 void hdlcdrv_arbitrate(struct net_device *, struct hdlcdrv_state *);
-int hdlcdrv_register_hdlcdrv(struct net_device *dev, const struct hdlcdrv_ops *ops,
-			     unsigned int privsize, char *ifname,
+struct net_device *hdlcdrv_register(const struct hdlcdrv_ops *ops,
+			     unsigned int privsize, const char *ifname,
 			     unsigned int baseaddr, unsigned int irq, 
 			     unsigned int dma);
-int hdlcdrv_unregister_hdlcdrv(struct net_device *dev);
+void hdlcdrv_unregister(struct net_device *dev);
 
 /* -------------------------------------------------------------------- */
 
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux