Re: [Bug? Report] kref problem

From: Greg KH
Date: Fri Mar 17 2006 - 10:17:48 EST


On Fri, Mar 17, 2006 at 12:30:07PM +0300, Artem B. Bityutskiy wrote:
> Greg KH wrote:
> >decl_subsys() is in the sysfs.h header file, not the device.h file.
> >Just stay away from anything in there if you hate the driver core so
> >much :)
> Ok, I see, thank you. I do not hate it, it is just not appropriate for
> me. I do not have any bus. My device is a virtual device, not a real one.

So, you should still use the driver core for virtual devices (we have
lots of virtual devices in the driver model today.)

Why are you not using it? What kind of device do you have? Why does it
not fit into any existing device model (platform, system, etc)?

thanks,

greg k-h
-
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/