RE: [PATCH 16/20] Get DISPC base addr with platform device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: Tomi Valkeinen [mailto:tomi.valkeinen@xxxxxxxxx] 
> Sent: Wednesday, August 25, 2010 6:43 PM
> To: Guruswamy, Senthilvadivu
> Cc: linux-omap@xxxxxxxxxxxxxxx; paul@xxxxxxxxx; Hilman, Kevin
> Subject: Re: [PATCH 16/20] Get DISPC base addr with platform device
> 
> On Mon, 2010-08-23 at 17:58 +0200, ext Guruswamy Senthilvadivu wrote:
> > From: Senthilvadivu Guruswamy <svadivu@xxxxxx>
> > 
> > DISPC Base addr got from the platform device.  Hadrcoding of base
> > addr removed.
> > 
> > Signed-off-by: Senthilvadivu Guruswamy <svadivu@xxxxxx>
> > ---
> >  drivers/video/omap2/dss/dispc.c |    5 +++--
> >  1 files changed, 3 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/video/omap2/dss/dispc.c 
> b/drivers/video/omap2/dss/dispc.c
> > index ae18b5f..8a7a086 100644
> > --- a/drivers/video/omap2/dss/dispc.c
> > +++ b/drivers/video/omap2/dss/dispc.c
> > @@ -40,7 +40,6 @@
> >  #include "dss.h"
> >  
> >  /* DISPC */
> > -#define DISPC_BASE			0x48050400
> >  
> >  #define DISPC_SZ_REGS			SZ_1K
> 
> I guess *_SZ_REGS are not needed anymore for any of the blocks.
> 
Its still needed for the definition of array size used for save/restore,
Unless we go for pointers to do dynamic allocation of register size.

>  Tomi
> 
> 
> ��.n��������+%������w��{.n�����{�������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux