fb: fix atyfb unused data warnings
commit9abc907ed781ea12825fde867d473c90214e3b4c
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 24 Jun 2013 17:54:20 +0000 (24 10:54 -0700)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Jun 2013 12:13:53 +0000 (26 15:13 +0300)
treed91e2308fb0d01db2554dd3159d1c6d3ed411ca4
parent6e36308a6fb87d104452855610398446aafb0ea6
fb: fix atyfb unused data warnings

Fix compiler warnings of data defined but not used by using the
__maybe_unused attribute.  The date are only used with certain kconfig
settings.

drivers/video/aty/atyfb_base.c:534:13: warning: 'ram_dram' defined but not used [-Wunused-variable]
drivers/video/aty/atyfb_base.c:535:13: warning: 'ram_resv' defined but not used [-Wunused-variable]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linux-fbdev@vger.kernel.org
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/aty/atyfb_base.c