]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5048e931a5c40426b68c3d31363469e75ac31a4d
treed6d9ad7adb0fe635f7e7e1c1f5b7ac787f0a9482
parent880482377e4eb3eb425d2aeb30474b54e22c3855
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