> -----Original Message-----
> From: Tomi Valkeinen [mailto:tomi.valkei...@nokia.com] 
> Sent: Wednesday, August 25, 2010 6:43 PM
> To: Guruswamy, Senthilvadivu
> Cc: linux-omap@vger.kernel.org; p...@pwsan.com; 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 <svad...@ti.com>
> > 
> > DISPC Base addr got from the platform device.  Hadrcoding of base
> > addr removed.
> > 
> > Signed-off-by: Senthilvadivu Guruswamy <svad...@ti.com>
> > ---
> >  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�����r��y����b�X��ǧv�^�)޺{.n�+����{��f��{ay�ʇڙ�,j��f���h���z��w���
> ���j:+v���w�j�m��������zZ+�����ݢj"��!�i

Reply via email to