drivers/video: fsl-diu-fb: merge diu_hw into fsl_diu_data
authorTimur Tabi <timur@freescale.com>
Wed, 5 Oct 2011 00:36:51 +0000 (19:36 -0500)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 5 Oct 2011 01:10:12 +0000 (01:10 +0000)
commit3c755b7c09a5f83a96c26a2a784212791cc02bdc
treed6d9ad7adb0fe635f7e7e1c1f5b7ac787f0a9482
parentc4e5a0232763db22d6c60c391ed5816b2b2ac063
drivers/video: fsl-diu-fb: merge diu_hw into fsl_diu_data

The diu_hw structure contains two fields used to access the DIU registers,
but the only instance of this structure is a global variable, 'dr'.
Eliminate 'dr' by merging its fields into the fsl_diu_data structure,
which is instantiated on the heap for each DIU controller found.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/fsl-diu-fb.c