Thread (3 messages) flat view 3 messages, 2 authors, 2005-06-03

Re: [PATCH][1/5] RapidIO support: core

From: Greg KH <hidden>
Date: 2005-06-03 07:10:27
Also in: lkml

On Thu, Jun 02, 2005 at 02:03:59PM -0700, Matt Porter wrote:
+static struct device rio_bus = {
+	.bus_id = "rapidio",
+};
Why do you need this device?  You shouldn't have a static struct device
to start with.  Or you just don't like having your root rio device
showing up in /sys/devices/ ?
If so, just create a kobject and put it there, and then base your
devices off of it, no need for a real device.

Oh wait, that's what the platform and system code does.  bah,
nevermind...

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help