summary refs log tree commit diff stats
path: root/net/can/can_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/can/can_host.c')
-rw-r--r--net/can/can_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/can_host.c b/net/can/can_host.c
index b2fe553f91..ca5fcf1ea1 100644
--- a/net/can/can_host.c
+++ b/net/can/can_host.c
@@ -72,7 +72,7 @@ static void can_host_complete(UserCreatable *uc, Error **errp)
 }
 
 static void can_host_class_init(ObjectClass *klass,
-                                void *class_data G_GNUC_UNUSED)
+                                const void *class_data G_GNUC_UNUSED)
 {
     UserCreatableClass *uc_klass = USER_CREATABLE_CLASS(klass);