Revision: 73
          http://svn.sourceforge.net/mactel-linux/?rev=73&view=rev
Author:   nboichat
Date:     2006-11-30 05:20:17 -0800 (Thu, 30 Nov 2006)

Log Message:
-----------
Select LED class (NEW_LEDS and LEDS_CLASS) when selecting Apple SMC driver 
(SENSORS_APPLESMC) in kernel configuration. (Problem reported by Marvin Stark)

Modified Paths:
--------------
    trunk/kernel/mactel-patches-2.6.19/applesmc.patch

Modified: trunk/kernel/mactel-patches-2.6.19/applesmc.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.19/applesmc.patch   2006-11-30 10:27:29 UTC 
(rev 72)
+++ trunk/kernel/mactel-patches-2.6.19/applesmc.patch   2006-11-30 13:20:17 UTC 
(rev 73)
@@ -1,13 +1,15 @@
 diff -pruN linux/drivers/hwmon.vanilla/Kconfig linux/drivers/hwmon/Kconfig
---- linux/drivers/hwmon.vanilla/Kconfig        2006-11-25 22:12:16.000000000 
+0800
-+++ linux/drivers/hwmon/Kconfig        2006-11-25 22:12:33.000000000 +0800
-@@ -530,6 +530,26 @@ config SENSORS_HDAPS
+--- linux/drivers/hwmon.vanilla/Kconfig        2006-11-30 21:14:48.000000000 
+0800
++++ linux/drivers/hwmon/Kconfig        2006-11-30 20:52:23.000000000 +0800
+@@ -539,6 +539,28 @@ config SENSORS_HDAPS
          Say Y here if you have an applicable laptop and want to experience
          the awesome power of hdaps.
  
 +config SENSORS_APPLESMC
 +      tristate "Apple SMC (Motion sensor, light sensor, keyboard backlight)"
 +      depends on HWMON && INPUT && X86
++      select NEW_LEDS
++      select LEDS_CLASS
 +      default n
 +      help
 +        This driver provides support for the Apple System Management
@@ -29,19 +31,19 @@
        bool "Hardware Monitoring Chip debugging messages"
        depends on HWMON
 diff -pruN linux/drivers/hwmon.vanilla/Makefile linux/drivers/hwmon/Makefile
---- linux/drivers/hwmon.vanilla/Makefile       2006-11-25 22:12:16.000000000 
+0800
-+++ linux/drivers/hwmon/Makefile       2006-11-25 22:12:33.000000000 +0800
+--- linux/drivers/hwmon.vanilla/Makefile       2006-11-30 21:14:48.000000000 
+0800
++++ linux/drivers/hwmon/Makefile       2006-11-30 20:47:51.000000000 +0800
 @@ -18,6 +18,7 @@ obj-$(CONFIG_SENSORS_ADM1025)        += adm1025
  obj-$(CONFIG_SENSORS_ADM1026) += adm1026.o
  obj-$(CONFIG_SENSORS_ADM1031) += adm1031.o
  obj-$(CONFIG_SENSORS_ADM9240) += adm9240.o
 +obj-$(CONFIG_SENSORS_APPLESMC)        += applesmc.o
  obj-$(CONFIG_SENSORS_ATXP1)   += atxp1.o
+ obj-$(CONFIG_SENSORS_CORETEMP)        += coretemp.o
  obj-$(CONFIG_SENSORS_DS1621)  += ds1621.o
- obj-$(CONFIG_SENSORS_F71805F) += f71805f.o
 diff -pruN linux/drivers/hwmon.vanilla/applesmc.c 
linux/drivers/hwmon/applesmc.c
 --- linux/drivers/hwmon.vanilla/applesmc.c     1970-01-01 07:30:00.000000000 
+0730
-+++ linux/drivers/hwmon/applesmc.c     2006-11-25 22:12:58.000000000 +0800
++++ linux/drivers/hwmon/applesmc.c     2006-11-30 20:47:51.000000000 +0800
 @@ -0,0 +1,913 @@
 +/*
 + * drivers/hwmon/applesmc.c - driver for Apple's SMC (various sensors,


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-devel mailing list
Mactel-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel

Reply via email to