commit | bf689342a3b6c7dd9eb5a81fc9559cef84d9009a | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Mon Aug 03 23:01:38 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Sat Aug 08 16:26:20 2015 +0200 |
tree | 22ebb3fd386a5bec3ccab6bd66eb29e06d936d94 | |
parent | 5fa9b6f0ff289946a677892be64d4d19788632a4 [diff] |
sunxi: display: Replace #ifdef-ery with helper functions All the #ifdef-ery in selecting the default and fallback monitor type is becoming unyielding and makes the code hard to read, replace it with a few helper functions. This will also be useful with the upcoming CHIP board which has display adapter daughterboards which should be runtime detectable. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>