]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Fix usb/isp1760 build on sparc
authorDavid Miller <davem@davemloft.net>
Wed, 21 Dec 2011 22:31:54 +0000 (17:31 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Dec 2011 22:41:04 +0000 (14:41 -0800)
commit7ed2069848fccef7876f309c772fb4e385e8bbb8
treec4050ac72098edfd37adb7037fbf7bf2b03030cc
parent537afe097c582a514ab54433a5b9d4452f38ccae
USB: Fix usb/isp1760 build on sparc

This commit:

commit 270a0ad37086be7971906f2a599a9ac4d870ab0d
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: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
Signed-off-by: Greg 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: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-if.c