• D
    USB: Fix usb/isp1760 build on sparc · abf058e1
    David Miller 提交于
    This commit:
    
    commit 8f5d6215
    Author: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
    Date:   Mon Oct 10 18:06:54 2011 +0200
    
        usb/isp1760: Let OF bindings depend on general CONFIG_OF instead of PPC_OF .
    
        To be able to use the driver on other OF-aware architectures, too.
        And add necessary OF related #includes to fix compilation error.
    Signed-off-by: NJoachim Foerster <joachim.foerster@missinglinkelectronics.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    
    enabled the build on all CONFIG_OF architectures, but it cannot do
    this.
    
    This driver depends upon CONFIG_OF_IRQ but not all CONFIG_OF platforms
    support that infrastructure, in particular Sparc does not so the
    build fails.
    
    Please push a patch like the following to Linus so that this code only
    gets built where it actually should.
    
    --------------------
    usb/isp1760: Add missing CONFIG_OF_IRQ dependency on OF code.
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    abf058e1
isp1760-if.c 11.0 KB