On Thu, 12 Nov 2015 09:47:51 +0100
Johannes Berg <[email protected]> wrote:

> From: Johannes Berg <[email protected]>
> 
> "count" works similar to "select"; take, for example, this snippet:
> 
>     config MY_COUNTER
>             int
> 
>     config MY_DRIVER_1
>             bool "my driver 1"
>             count MY_COUNTER
> 
>     config MY_DRIVER_2
>             bool "my driver 2"
>             count MY_COUNTER
> 
> This will get MY_COUNTER to have a value of 0, 1 or 2, depending
> on whether or not MY_DRIVER_1/MY_DRIVER_2 are not at all, one or
> both selected respectively.

I find the name "count" ambiguous. What happened to "increment" or
something?

-- Steve

> 
> This can be useful for certain optimization purposes but I'm sure
> people will come up with other creative usage.
> 
> Signed-off-by: Johannes Berg <[email protected]>
> ---

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to