* [PATCH] SET_MODULE_OWNER change in apm_emu.c
@ 2003-05-22 1:24 Paul Mackerras
0 siblings, 0 replies; only message in thread
From: Paul Mackerras @ 2003-05-22 1:24 UTC (permalink / raw)
To: torvalds; +Cc: benh, linux-kernel
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.
diff -urN linux-2.5/drivers/macintosh/apm_emu.c pmac-2.5/drivers/macintosh/apm_emu.c
--- linux-2.5/drivers/macintosh/apm_emu.c 2003-04-03 08:55:29.000000000 +1000
+++ pmac-2.5/drivers/macintosh/apm_emu.c 2003-05-21 13:40:54.000000000 +1000
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-22 1:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22 1:24 [PATCH] SET_MODULE_OWNER change in apm_emu.c Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®