Hi, On 10/06/13 10:57, Andreas Naumann wrote: > Currently the maximum number of display is hardcoded in the array omapfb2_device. Made the number a #define and check it in init routine. > > Signed-off-by: Andreas Naumann <anaumann@xxxxxxxxxxxxxx> > --- > Our board supports a lot of panels and we could probably solve this more effectively, but arrays shouldnt silently overflow when using more than 10 displays. Created the patch on 3.1 and tested it there. This one is rebased on todays linux-omap.git > arch/arm/mach-omap2/display.c | 5 +++++ > drivers/video/omap2/omapfb/omapfb.h | 10 +++++----- > include/video/omapdss.h | 2 ++ > 3 files changed, 12 insertions(+), 5 deletions(-) This is an omapfb change, so it should only change omapfb files, not omapdss. Tomi
Attachment:
signature.asc
Description: OpenPGP digital signature