SET_MODULE_OWNER change in apm_emu.c
PATCH 1/1 SET_MODULE_OWNER change in apm_emu.c
Linus,
The patch below fixes drivers/macintosh/apm_emu.c by replacing the SET_MODULE_OWNER with a statement that explicitly sets the owner field of the proc_dir_entry that it creates.
Please apply.
Thanks,
Paul.
drivers/macintosh/apm_emu.c +1 -1
@@ -524,7 +524,7 @@ apm_proc =create_proc_info_entry ("apm" ,0 ,NULL , apm_emu_get_info);if (apm_proc) -SET_MODULE_OWNER (apm_proc); + apm_proc->owner =THIS_MODULE ;misc_register (&apm_device);