]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Shrink TV modes const data
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 13 Oct 2016 10:09:26 +0000 (11:09 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 13 Oct 2016 12:06:41 +0000 (13:06 +0100)
commita0b9ee37828fda28aea43df1a241f1c56c11a990
tree4cf009bb564716c786908cdce83995a90235de2b
parent4d26b1930ceb2ed4e8e28cab42d3542026bb92a2
drm/i915: Shrink TV modes const data

Make struct video_levels and struct tv_mode use data types
of sufficient width to save approximately one kilobyte in
the .rodata section.

v2: Do not align struct members. (Jani Nikula, Joonas Lahtinen)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476353366-13931-1-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_tv.c