Re: [RFC] full suspend/resume support for i915 DRM driver

From: Kay Sievers
Date: Fri Oct 26 2007 - 14:19:38 EST


On Fri, 2007-10-26 at 11:12 -0700, Jesse Barnes wrote:
> On Friday, October 26, 2007 10:10 am Kay Sievers wrote:
> > The conversion is already queued in Greg's tree, and in -mm:
> > http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f
> >=driver/drm-convert-from-class_device-to-device-in-drivers-char-drm.pa
> >tch;h=f993183d1cb017f981cc2232d17930af40459bd8;hb=HEAD
>
> Hm, I've done it slightly differently, by adding an actual device to the
> drm_device structure... I'll post it once I've cleaned it up a little
> more.

Sure, as long as "struct class_device" is no longer used in the code,
and you don't embed two "struct device" device structures in a single
object, all should be fine.
We plan to remove "struct class_device" soon from the kernel. :)

Thanks,
Kay

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/