Skip to contentSkip to conversation

asus_acpi build fix for 2.6.0-test6

PATCH Applied Stephen Hemminger 3 participants 3 messages Oct 2, 2003 – Oct 8, 2003 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 asus_acpi build fix for 2.6.0-test6

For 2.6.0-test6 BK latest, fix 'make allmodconfig'.
This driver seems to think there is still linux/modversions.h on 2.6?

CC [M] drivers/acpi/asus_acpi.o
drivers/acpi/asus_acpi.c:37:31: linux/modversions.h: No such file or directory

drivers/acpi/asus_acpi.c +0 -4
diff -Nru a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c
@@ -33,10 +33,6 @@
  */
 
 #include <linux/config.h>
-#if defined (CONFIG_MODVERSIONS) && !defined (MODVERSIONS) && defined (MODULE)
-#include <linux/modversions.h>
-#endif
-
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/init.h>

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Well of course ... until now, all kernel patches were generated by a perl script from a single file, wich would remove those lines for 2.6, but with the inclusion in mainstrem kernel it's easier to simply diff, I guess we simply forgot to double check this, sorry :)

Best regards,
Julien Lerouge

Quoted 22 lines · Stephen Hemminger

For 2.6.0-test6 BK latest, fix 'make allmodconfig'.
This driver seems to think there is still linux/modversions.h on 2.6?

CC [M] drivers/acpi/asus_acpi.o
drivers/acpi/asus_acpi.c:37:31: linux/modversions.h: No such file or directory diff -Nru a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c

drivers/acpi/asus_acpi.c +0 -5
@@ -33,10 +33,6 @@
  */
 
 #include <linux/config.h>
-#if defined (CONFIG_MODVERSIONS) && !defined (MODVERSIONS) && defined (MODULE)
-#include <linux/modversions.h>
-#endif
-
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/init.h>
 
 
-------------------------------------------------------
Quoted 7 lines

This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

Applied
#3 lore raw
In reply to a message not in the archive

Applied.

thanks,
-Len

Quoted 9 lines · Stephen Hemminger

For 2.6.0-test6 BK latest, fix 'make allmodconfig'.
This driver seems to think there is still linux/modversions.h on 2.6?

CC [M] drivers/acpi/asus_acpi.o
drivers/acpi/asus_acpi.c:37:31: linux/modversions.h: No such file or directory diff -Nru a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c

drivers/acpi/asus_acpi.c line 38

Quoted 10 lines
drivers/acpi/asus_acpi.c +0 -4
@@ -33,10 +33,6 @@
  */
 
 #include <linux/config.h>
-#if defined (CONFIG_MODVERSIONS) && !defined (MODVERSIONS) && defined (MODULE)
-#include <linux/modversions.h>
-#endif
-
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/init.h>

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf