[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <BF9457FD-CEED-4290-9150-57F51F6E42FC@goldelico.com>
Date: Mon, 10 Feb 2014 09:54:34 +0100
From: "Dr. H. Nikolaus Schaller" <hns@...delico.com>
To: Johannes Berg <johannes@...solutions.net>
Cc: Marek Belisko <marek@...delico.com>, robh+dt@...nel.org,
pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
rob@...dley.net, "John W. Linville" <linville@...driver.com>,
David Miller <davem@...emloft.net>, grant.likely@...aro.org,
NeilBrown Brown <neilb@...e.de>, devicetree@...r.kernel.org,
linux-doc@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: rfkill-regulator: Add devicetree support.
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists