1. 31 5月, 2017 1 次提交
  2. 28 5月, 2017 1 次提交
  3. 27 5月, 2017 5 次提交
  4. 18 5月, 2017 5 次提交
  5. 13 5月, 2017 1 次提交
  6. 09 5月, 2017 1 次提交
  7. 02 5月, 2017 18 次提交
  8. 25 4月, 2017 3 次提交
  9. 22 4月, 2017 1 次提交
    • A
      net: dsa: LAN9303: add I2C dependency · 239c599a
      Arnd Bergmann 提交于
      With CONFIG_I2C=m and NET_DSA_SMSC_LAN9303=y, we run into a link error:
      
      drivers/base/regmap/regmap-i2c.o: In function `regmap_smbus_byte_reg_read':
      regmap-i2c.c:(.text.regmap_smbus_byte_reg_read+0x18): undefined reference to `i2c_smbus_read_byte_data'
      drivers/base/regmap/regmap-i2c.o: In function `regmap_smbus_byte_reg_write':
      regmap-i2c.c:(.text.regmap_smbus_byte_reg_write+0x18): undefined reference to `i2c_smbus_write_byte_data'
      drivers/base/regmap/regmap-i2c.o: In function `regmap_smbus_word_reg_read':
      regmap-i2c.c:(.text.regmap_smbus_word_reg_read+0x18): undefined reference to `i2c_smbus_read_word_data'
      drivers/base/regmap/regmap-i2c.o: In function `regmap_smbus_word_read_swapped':
      regmap-i2c.c:(.text.regmap_smbus_word_read_swapped+0x18): undefined reference to `i2c_smbus_read_word_data'
      drivers/base/regmap/regmap-i2c.o: In function `regmap_smbus_word_write_swapped':
      
      This adds a Kconfig dependency to avoid the broken configuration.
      
      Fixes: be4e119f ("net: dsa: LAN9303: add I2C managed mode support")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      239c599a
  10. 21 4月, 2017 3 次提交
  11. 10 4月, 2017 1 次提交
    • F
      net: dsa: mt7530: Include gpio/consumer.h for GPIO functions · eb976a55
      Florian Fainelli 提交于
      Fixes build errors seen with CONFIG_GPIOLIB disabled and warnings enabled:
      
      drivers/net/dsa/mt7530.c: In function 'mt7530_setup':
      drivers/net/dsa/mt7530.c:948:3: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]
         gpiod_set_value_cansleep(priv->reset, 0);
         ^~~~~~~~~~~~~~~~~~~~~~~~
      drivers/net/dsa/mt7530.c: In function 'mt7530_probe':
      drivers/net/dsa/mt7530.c:1068:17: error: implicit declaration of function 'devm_gpiod_get_optional' [-Werror=implicit-function-declaration]
         priv->reset = devm_gpiod_get_optional(&mdiodev->dev, "reset",
                       ^~~~~~~~~~~~~~~~~~~~~~~
      drivers/net/dsa/mt7530.c:1069:13: error: 'GPIOD_OUT_LOW' undeclared (first use in this function)
                   GPIOD_OUT_LOW);
                   ^~~~~~~~~~~~~
      drivers/net/dsa/mt7530.c:1069:13:
      
      Fixes: b8f126a8 ("net-next: dsa: add dsa support for Mediatek MT7530 switch")
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eb976a55