diff options
| author | Arnd Bergmann <[email protected]> | 2014-03-13 17:47:23 +0100 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2014-03-21 18:19:30 +0100 |
| commit | 871336a93794d9144a94c51a85489cb890462f64 (patch) | |
| tree | 640c283d553a6ec9346b63549e81b52ff946b12c /tools/perf/scripts/python | |
| parent | c85fc989f92a1590477e22bf582712f9ab35f48e (diff) | |
ARM: at91: fix broken "if () else" statement
If CONFIG_PATA_AT91 is disabled, the code in at91_add_device_cf
is turned into invalid C statements due to the lack of an
expression before the 'else' clause.
This moves the first half of the condition inside of the #ifdef,
which seems to be what the author intended.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Cc: Andrew Victor <[email protected]>
Cc: Jean-Christophe Plagniol-Villard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions