Add missing void pointer argument to SYSINIT() functions.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2015-03-18 10:50:10 +00:00
parent 54fe6f6bdf
commit 2162d4f09e

View File

@ -782,7 +782,7 @@ linux_timer_init(void *arg)
SYSINIT(linux_timer, SI_SUB_DRIVERS, SI_ORDER_FIRST, linux_timer_init, NULL);
static void
linux_compat_init(void)
linux_compat_init(void *arg)
{
struct sysctl_oid *rootoid;
int i;
@ -811,7 +811,7 @@ linux_compat_init(void)
SYSINIT(linux_compat, SI_SUB_DRIVERS, SI_ORDER_SECOND, linux_compat_init, NULL);
static void
linux_compat_uninit(void)
linux_compat_uninit(void *arg)
{
kobject_kfree_name(&class_root);
kobject_kfree_name(&linux_rootdev.kobj);