From: Philipp Matthias Hahn <pmhahn-u4khhh1J0LzF41mA0N3lWw@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: acpi-20020918-2.5.36 Compileerror
Date: Fri, 20 Sep 2002 14:22:14 +0200 [thread overview]
Message-ID: <20020920122214.GA26714@titan.lahn.de> (raw)
Hi!
20020918-2.5.36 doesn't compile because of ACPI_AC_DRIVER_NAME "use
before declaration" in drivers/acpi/ac.c:
====================================================
MODULE_DESCRIPTION(ACPI_AC_DRIVER_NAME);
MODULE_LICENSE("GPL");
-#define PREFIX "ACPI: "
-
+#define ACPI_AC_COMPONENT 0x00020000
+#define ACPI_AC_CLASS "ac_adapter"
+#define ACPI_AC_HID "ACPI0003"
+#define ACPI_AC_DRIVER_NAME "ACPI AC Adapter Driver"
====================================================
Same for drivers/acpi/battery.c, drivers/acpi/button.c,
drivers/acpi/fan.c, drivers/acpi/processor.c, drivers/acpi/thermal.c
FIX: Move the MODULE_* lines after the defines.
BYtE
Philipp
--
/ / (_)__ __ ____ __ Philipp Hahn
/ /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn-u4khhh1J0LzF41mA0N3lWw@public.gmane.org
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
reply other threads:[~2002-09-20 12:22 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=20020920122214.GA26714@titan.lahn.de \
--to=pmhahn-u4khhh1j0lzf41ma0n3lww@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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