lkml.org 
[lkml]   [2009]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 23/41] rt2x00: add driver private field to struct rt2x00_dev
Date
On Thursday 05 November 2009, Ivo van Doorn wrote:
> On Wednesday 04 November 2009, Bartlomiej Zolnierkiewicz wrote:
> > From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> > Subject: [PATCH] rt2x00: add driver private field to struct rt2x00_dev
> >
> > Enhance rt2x00 infrastructure by adding driver specific field to
> > struct rt2x00_dev.
> >
> > The new field will be used by rt2800 drivers for chipset registers
> > access abstraction layer.
> >
> > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
>
> Acked-by: Ivo van Doorn <IvDoorn@gmail.com>

Sorry I have a better idea, please the pointer into struct rt2x00_ops,
that way you can assign it statically like the rest of that structure.
That makes actually sense since all other function ops structures
are assigned like that as well.

Ivo


\
 
 \ /
  Last update: 2009-11-05 19:59    [W:0.139 / U:66.824 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site