commit | 8baefd30b5b0101aa07aa75da44a9eee881eed28 | [log] [tgz] |
---|---|---|
author | Arnaud Lacombe <lacombar@gmail.com> | Tue Aug 24 00:14:47 2010 -0400 |
committer | Arnaud Lacombe <lacombar@gmail.com> | Sun Sep 19 18:19:16 2010 -0400 |
tree | 02c72db82a9f9f9aade25a11bf9e6b884806cdec | |
parent | 71d8066265896a6498a4de1bed80dea8dc5daead [diff] |
kconfig: replace a `switch()' statement by a more flexible `if()' statement With the upcoming dynamical configuration prefix, we can no longer assume that the prefix will start by a 'C'. As such, we can no longer hardcode this value in the `case ...:', so replace the `switch() { ... }' statement by a more flexible 'if () { ... }' statement. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Michal Marek <mmarek@suse.cz>