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

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 09/28/03

  • Next message: Geert Uytterhoeven: "[PATCH 309] Macintosh 8390 Ethernet update"
    Date:	Sun, 28 Sep 2003 22:26:51 +0200
    To: Stephen Hemminger <shemminger@osdl.org>
    
    

    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);
     
     /* -------------------------------------------------------------------- */
     
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Geert Uytterhoeven: "[PATCH 309] Macintosh 8390 Ethernet update"

    Relevant Pages