Messages in this thread | | | Date | Fri, 9 Dec 2005 23:50:16 -0800 | From | Greg KH <> | Subject | Re: [patch 3/17] s390: move s390_root_dev_* out of the cio layer. |
| |
On Fri, Dec 09, 2005 at 05:54:43PM +0100, Martin Schwidefsky wrote: > On Fri, 2005-12-09 at 17:51 +0100, Adrian Bunk wrote: > > On Fri, Dec 09, 2005 at 04:23:45PM +0100, Martin Schwidefsky wrote: > > > +extern struct device *s390_root_dev_register(const char *); > > > +extern void s390_root_dev_unregister(struct device *); > > >... > > > > If you do _really_ need these wrappers, simply make them > > "static inline"'s in the header file. > > We can't. The point here is that we need an external release function > that is still available after the module has been unloaded that uses > these wrappers.
release is find and understandable. But the unregister one is just pretty foolish :)
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |