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)
commitf077f3fc055b329787783a1ab0efb9a8f8ecc874
tree8bce88e7cf179b2be87f8e9cf7a4af83fa295f4c
parentdc5d2e8236e2eec461e8c34d302635142e93ab49
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