Re: [PATCH 1/5] net: rfkill: gpio: Configurable GPIO idx

2014-10-08 Thread Johannes Berg
On Wed, 2014-10-08 at 10:34 +0200, Loic Poulain wrote: + { BCM2E1A, (kernel_ulong_t)acpi_default_bluetooth }, Shouldn't that be uintptr_t? johannes -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/5] net: rfkill: gpio: Configurable GPIO idx

2014-10-08 Thread Loic Poulain
Hi Johannes, acpi_device_id driver_data field is defined as a kernel_ulong_t in mod_devicetable.h. Regards, Loic On 08/10/2014 10:53, Johannes Berg wrote: On Wed, 2014-10-08 at 10:34 +0200, Loic Poulain wrote: + { BCM2E1A, (kernel_ulong_t)acpi_default_bluetooth }, Shouldn't that be

Re: [PATCH 1/5] net: rfkill: gpio: Configurable GPIO idx

2014-10-08 Thread Heikki Krogerus
On Wed, Oct 08, 2014 at 10:34:36AM +0200, Loic Poulain wrote: Some devices don't match the current static gpio mapping: -BCM4752 (GPS) uses gpio res 0 as host wake irq. -OBDA8723 (Bluetooth) uses gpio res 0 as controller wake gpio and res 2 as host wake irq. To allow more flexibility, this