Re: [PATCH][RFC/v1][9/12] Add InfiniBand userspace MAD support

From: Greg KH
Date: Tue Nov 23 2004 - 10:20:33 EST


On Tue, Nov 23, 2004 at 07:06:07AM -0800, Roland Dreier wrote:
> Greg> Yes, it probably should be. Hm, no, we don't allow you to
> Greg> put class specific files if you use the class_simple API,
> Greg> sorry I misread your question. You can just handle the
> Greg> class yourself and use the CLASS_ATTR() macro to define your
> Greg> api version function.
>
> Ugh, then we end up duplicating the class_simple code. Would you
> accept a patch that adds class_simple_create_file()/class_simple_remove_file()?

Ick, ok, sure. Just make sure to mark them as EXPORT_SYMBOL_GPL() :)

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/