From: Archit Taneja Date: Fri, 5 Aug 2011 13:36:04 +0000 (+0530) Subject: OMAP: DSS2: Use a macro to declare size of the fifo_size array in dispc.c X-Git-Tag: v3.2-rc1~98^2~1^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e13a138bc68259dc630cb903942975efa40d2bd9;p=pandora-kernel.git OMAP: DSS2: Use a macro to declare size of the fifo_size array in dispc.c The array size of fifo_size array in the global dispc struct is currently hardcoded to 3. Replace this with the MAX_DSS_OVERLAYS macro in dss_features.h, use dss_features function to get the number of overlays instead of the ARRAY_SIZE macro in dispc_read_plane_fifo_sizes(). Signed-off-by: Archit Taneja Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed