qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Add modinfo information [PATCH]
@ 2005-11-25 21:38 Shaun Jackman
  0 siblings, 0 replies; only message in thread
From: Shaun Jackman @ 2005-11-25 21:38 UTC (permalink / raw)
  To: QEMU

This patch adds modinfo information to kqemu. Please apply.

Please cc me in your reply. Cheers!
Shaun

2005-11-25  Shaun Jackman  <sjackman@gmail.com>

	* kqemu-linux.c: Add modinfo information.

--- kqemu-linux.c-	2005-11-25 14:28:06.000000000 -0700
+++ kqemu-linux.c	2005-11-25 14:33:52.000000000 -0700
@@ -323,7 +323,7 @@
     .fops       = &kqemu_fops,
 };

-int init_module(void)
+static int __init modinit(void)
 {
     int ret;
     struct sysinfo si;
@@ -358,10 +358,17 @@
     return 0;
 }

-void cleanup_module(void)
+static void __exit modexit(void)
 {
     if (major > 0)
         unregister_chrdev(major, "kqemu");
     else
         misc_deregister (&kqemu_dev);
 }
+
+MODULE_AUTHOR("Fabrice Bellard <fabrice.bellard@free.fr>");
+MODULE_DESCRIPTION("QEMU Accelerator Module");
+MODULE_LICENSE("Proprietary");
+MODULE_VERSION("1.2.0");
+module_init(modinit);
+module_exit(modexit);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-25 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-25 21:38 [Qemu-devel] Add modinfo information [PATCH] Shaun Jackman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).