]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: SAMSUNG: Set S3C_FB_MAX_WIN in <plat/fb.h>
authorBen Dooks <ben-linux@fluff.org>
Thu, 13 May 2010 05:44:50 +0000 (14:44 +0900)
committerBen Dooks <ben-linux@fluff.org>
Tue, 18 May 2010 09:46:27 +0000 (18:46 +0900)
commitae69f0503d66503a8b4f4d6fa0351023bd0e85c7
tree8bce88e7cf179b2be87f8e9cf7a4af83fa295f4c
parent9c6aa1116aef2bb3a8be9314b56597ad0af861b5
ARM: SAMSUNG: Set S3C_FB_MAX_WIN in <plat/fb.h>

Move the S3C_FB_MAX_WIN to the platform data to avoid
having to include the registers with the platform data.

Set S3C_FB_MAX_WIN to 5, which is the maximum that any
of the current hardware can do and the cost of having
it set to this for all is minimal (at least for the
platform data case), then always leave this as the maximum
for the systems supported.

Also remove the inclusion of <mach/regs-fb.h> from
the device definition in arch/arm/plat-samsung

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-samsung/dev-fb.c
arch/arm/plat-samsung/include/plat/fb.h