• Geert Uytterhoeven's avatar
    usb: gadget: net2272 - Correct includes · d84d6615
    Geert Uytterhoeven authored
    <linux/irq.h> states:
    
     * Please do not include this file in generic code.  There is currently
     * no requirement for any architecture to implement anything held
     * within this file.
    
    prefetch() and prefetchw() need <linux/prefetch.h> on m68k:
    
    drivers/usb/gadget/net2272.c: In function ‘net2272_write_fifo’:
    drivers/usb/gadget/net2272.c:468: error: implicit declaration of function ‘prefetch’
    drivers/usb/gadget/net2272.c: In function ‘net2272_read_fifo’:
    drivers/usb/gadget/net2272.c:574: error: implicit declaration of function ‘prefetchw’
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    d84d6615
net2272.c 69.7 KB