On Wed, Jan 31, 2024 at 10:13 PM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
On Wed, Jan 31, 2024 at 06:43:45PM +0100, Jens Wiklander wrote:
+struct class rpmb_class = {
This structure should be marked as 'const', right?
You're right, of course.
.name = "rpmb",
.dev_release = rpmb_dev_release,
+}; +EXPORT_SYMBOL(rpmb_class);
EXPORT_SYMBOL_GPL() to match all the other exports in this file please.
Sure, I'll fix it.
Thanks, Jens
thanks,
greg k-h