From: Mike Rapoport Date: Mon, 3 Aug 2009 09:07:52 +0000 (+0300) Subject: [ARM] pxa/cm-x270: add libertas device registration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2099e49f4f8728b0c0301a4e3eb650644ee9206;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [ARM] pxa/cm-x270: add libertas device registration v2 changes: - use gpio_to_irq instead of IRQ_GPIO - check gpio_direction_output return value to be on the safe side :) Signed-off-by: Mike Rapoport Signed-off-by: Eric Miao --- diff --git a/arch/arm/mach-pxa/cm-x270.c b/arch/arm/mach-pxa/cm-x270.c index 59292181088..eea78b6c2bc 100644 --- a/arch/arm/mach-pxa/cm-x270.c +++ b/arch/arm/mach-pxa/cm-x270.c @@ -13,13 +13,18 @@ #include #include #include +#include #include #include