• David Brownell's avatar
    [PATCH] USB: fix sparc64 2.6.6-rc2-mm2 build busted: usb/core/hub.c hubstatus · d6753366
    David Brownell authored
    > 2) An undefined 'hubstatus' variable in drivers/usb/core/hub.c:
    >
    >       CC      drivers/usb/core/hub.o
    >     drivers/usb/core/hub.c: In function `hub_port_connect_change':
    >     drivers/usb/core/hub.c:1343: error: `hubstatus' undeclared (first use in this function)
    >     drivers/usb/core/hub.c:1343: error: (Each undeclared identifier is reported only once
    >     drivers/usb/core/hub.c:1343: error: for each function it appears in.)
    >     make[3]: *** [drivers/usb/core/hub.o] Error 1
    >
    >   As a total shot in the dark, the following fixes the build (I've no clue
    >   if it is the right fix):
    
    Yes, it's the right fix.  Greg, please merge the attached patch,
    which will be needed on any big-endian system.
    d6753366
hub.c 44.4 KB