Re: [PATCH] net: rfkill-regulator: Add devicetree support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 10.02.2014 um 09:27 schrieb Johannes Berg:

> On Fri, 2014-02-07 at 20:48 +0100, Marek Belisko wrote:
> 
>> +#define RFKILL_TYPE_ALL		(0)
>> +#define RFKILL_TYPE_WLAN	(1)
>> +#define RFKILL_TYPE_BLUETOOTH	(2)
>> +#define RFKILL_TYPE_UWB		(3)
>> +#define RFKILL_TYPE_WIMAX	(4)
>> +#define RFKILL_TYPE_WWAN	(5)
>> +#define RFKILL_TYPE_GPS		(6)
>> +#define RFKILL_TYPE_FM		(7)
>> +#define RFKILL_TYPE_NFC		(8)
> 
> This seems like a bad idea since there's an enum elsewhere in userspace
> API already.

Yes,
you are right. It is defined in include/uapi/linux/rfkill.h

Tnx,
Nikolaus

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux