Skip to contentSkip to conversation

superio-locks in

RFC PATCH New Jim Cromie 1 participant 1 message Jun 14, 2007

Subsystems (2)
lore
Share & tools
lore

Jim Cromie

author maintainer
#0 lore raw

RFC PATCH 2/4 superio-locks in

use superio_locks in pc8736x_gpio
this driver keeps the superio reservation for the lifetime of the module ( __init til __exit )

---

[jimc@harpo mylocks]$ diffstat diff.locks-superio-usein-pc8736x_gpio

 Kconfig        |    1
 pc8736x_gpio.c |   89 
+++++++++++++++++++++++++--------------------------------
 2 files changed, 41 insertions(+), 49 deletions(-)

[jimc@harpo mylocks]$

drivers/char/Kconfig +1 -0
diff -ruNp -X exclude-diffs locks-2/drivers/char/Kconfig locks-3/drivers/char/Kconfig
@@ -961,6 +961,7 @@ config PC8736x_GPIO
 	depends on X86
 	default SCx200_GPIO	# mostly N
 	select NSC_GPIO		# needed for support routines
+	select SUPERIO_LOCKS
 	help
 	  Give userspace access to the GPIO pins on the National
 	  Semiconductor PC-8736x (x=[03456]) SuperIO chip.  The chip
drivers/char/pc8736x_gpio.c +40 -49

184 lines not on this page · raw message

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors