qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Shaun Jackman <sjackman@gmail.com>
To: QEMU <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Add modinfo information [PATCH]
Date: Fri, 25 Nov 2005 14:38:27 -0700	[thread overview]
Message-ID: <7f45d9390511251338x6357cef2n@mail.gmail.com> (raw)

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);

                 reply	other threads:[~2005-11-25 22:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f45d9390511251338x6357cef2n@mail.gmail.com \
    --to=sjackman@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).