Marek Vasut a6d710fefd ARM: pxafb: Fix access to nonexistent member of pxafb_info
In case CONFIG_FB_PXA_OVERLAY is not defined, the pxafb_freq_transition()
function tests nonexistent member of pxafb_info (since the member is not
part of the structure).

Fix this by wraping the test in ifdef, even if I don't really like how the code
looks now. The check doesn't have to happen if overlays are disabled at all as
the check is always true then.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
2011-04-12 23:07:42 +08:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00
2011-03-22 17:43:59 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:43:59 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:43:59 -07:00
2011-03-31 11:26:23 -03:00
2009-01-12 20:56:32 +01:00
2008-07-24 10:47:34 -07:00
2009-12-16 07:20:04 -08:00
2010-05-03 15:42:58 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2009-05-06 16:36:10 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 16:18:51 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-06 15:48:13 +09:00
2010-05-25 08:07:09 -07:00
2011-03-22 16:07:32 +09:00
2011-03-22 17:43:59 -07:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2011-01-12 14:57:52 +09:00
2009-01-06 15:59:27 -08:00
2011-03-31 11:26:23 -03:00
2009-01-06 15:59:27 -08:00
2011-03-31 11:26:23 -03:00
2010-12-21 01:05:43 +09:00
2011-03-31 13:48:58 +09:00
2010-05-25 08:07:09 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-16 18:05:05 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-02-27 18:31:13 +01:00
2010-02-27 18:31:13 +01:00
2010-05-25 08:07:08 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00