public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acpi-20020918-2.5.36 Compileerror
@ 2002-09-20 12:22 Philipp Matthias Hahn
  0 siblings, 0 replies; only message in thread
From: Philipp Matthias Hahn @ 2002-09-20 12:22 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

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

only message in thread, other threads:[~2002-09-20 12:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-20 12:22 acpi-20020918-2.5.36 Compileerror Philipp Matthias Hahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox