Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static DEFINE_MUTEX(minor_lock); /* Protect idr accesses */

static struct class *mtp02_class = NULL;

static int mtp02_uevent(struct device *dev, struct kobj_uevent_env *env)
static int mtp02_uevent(const struct device *dev, struct kobj_uevent_env *env)
{
add_uevent_var(env, "DEVMODE=%#o", 0666);
return 0;
Expand Down