[lkml]   [2002]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Linux PnP Support V0.93 - 2.5.50
On Sat, 7 Dec 2002, Greg KH wrote:

> > Could we get a void* in pnp_dev? I'm finding myself resorting to
> > driver internal arrays in order to track locations of device private structures.
> Use the struct device void pointer for stuff like this. There's some
> helpful functions to get access to this easily (but don't seem to see
> them in pnp.h at first glance...)

Thanks these should do it.

static inline void *pnp_get_drvdata (struct pnp_dev *pdev)
static inline void pnp_set_drvdata (struct pnp_dev *pdev, void *data)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:31    [W:0.107 / U:0.332 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site