commit | a2bba49af6ef10a5e2adb00b3d7a0e06a702f716 | [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 | 54a7ba234a9986338ebf4b3ff3da44e387ca12c4 [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>