浏览代码

Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux

Pull i2c build fix and cleanup from Wolfram Sang:
 "One buildfix for the i2c subsystem.  While here, I decided to add the
  header cleanup as well"

* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
  i2c: sun6i-p2wi: Remove duplicate inclusion of module.h
  i2c: mux: pca954x: fix dependencies
Linus Torvalds 11 年之前
父节点
当前提交
8de74717e1
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 0 1
      drivers/i2c/busses/i2c-sun6i-p2wi.c
  2. 1 0
      drivers/i2c/muxes/Kconfig

+ 0 - 1
drivers/i2c/busses/i2c-sun6i-p2wi.c

@@ -22,7 +22,6 @@
  *
  *
  */
  */
 #include <linux/clk.h>
 #include <linux/clk.h>
-#include <linux/module.h>
 #include <linux/i2c.h>
 #include <linux/i2c.h>
 #include <linux/io.h>
 #include <linux/io.h>
 #include <linux/interrupt.h>
 #include <linux/interrupt.h>

+ 1 - 0
drivers/i2c/muxes/Kconfig

@@ -40,6 +40,7 @@ config I2C_MUX_PCA9541
 
 
 config I2C_MUX_PCA954x
 config I2C_MUX_PCA954x
 	tristate "Philips PCA954x I2C Mux/switches"
 	tristate "Philips PCA954x I2C Mux/switches"
+	depends on GPIOLIB
 	help
 	help
 	  If you say yes here you get support for the Philips PCA954x
 	  If you say yes here you get support for the Philips PCA954x
 	  I2C mux/switch devices.
 	  I2C mux/switch devices.