1. 21 Aug, 2016 1 commit
  2. 21 Jul, 2016 1 commit
  3. 27 Jun, 2016 1 commit
  4. 01 May, 2016 1 commit
  5. 12 Apr, 2016 2 commits
  6. 05 Feb, 2016 1 commit
    • Bjorn Helgaas's avatar
      PCI: Remove includes of asm/pci-bridge.h · 952bbcb0
      Bjorn Helgaas authored
      Drivers should include asm/pci-bridge.h only when they need the arch-
      specific things provided there.  Outside of the arch/ directories, the only
      drivers that actually need things provided by asm/pci-bridge.h are the
      powerpc RPA hotplug drivers in drivers/pci/hotplug/rpa*.
      
      Remove the includes of asm/pci-bridge.h from the other drivers, adding an
      include of linux/pci.h if necessary.
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      952bbcb0
  7. 26 Nov, 2015 2 commits
  8. 15 Oct, 2015 1 commit
  9. 20 Aug, 2015 2 commits
    • Javier Martinez Canillas's avatar
      macintosh/therm_windtunnel: Export OF module alias information · a1a42b79
      Javier Martinez Canillas authored
      The I2C core always reports the MODALIAS uevent as "i2c:<client name"
      regardless if the driver was matched using the I2C id_table or the
      of_match_table. So technically there's no need for a driver to export
      the OF table since currently it's not used.
      
      In fact, the I2C device ID table is mandatory for I2C drivers since
      a i2c_device_id is passed to the driver's probe function even if the
      I2C core used the OF table to match the driver.
      
      And since the I2C core uses different tables, OF-only drivers needs to
      have duplicated data that has to be kept in sync and also the dev node
      compatible manufacturer prefix is stripped when reporting the MODALIAS.
      
      To avoid the above, the I2C core behavior may be changed in the future
      to not require an I2C device table for OF-only drivers and report the
      OF module alias. So, it's better to also export the OF table to prevent
      breaking module autoloading if that happens.
      Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      a1a42b79
    • Javier Martinez Canillas's avatar
      macintosh/therm_windtunnel: Export I2C module alias information · cb0eefcc
      Javier Martinez Canillas authored
      The I2C core always reports the MODALIAS uevent as "i2c:<client name"
      regardless if the driver was matched using the I2C id_table or the
      of_match_table. So the driver needs to export the I2C table and this
      be built into the module or udev won't have the necessary information
      to auto load the correct module when the device is added.
      Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      cb0eefcc
  10. 05 Aug, 2015 3 commits
  11. 23 Jul, 2015 1 commit
    • Luis Henriques's avatar
      macintosh/ans-lcd: fix build failure after module_init/exit relocation · 120d200a
      Luis Henriques authored
      After commit 0fd972a7 ("module: relocate module_init from init.h to module.h")
      ans-lcd module fails to build with:
      
      drivers/macintosh/ans-lcd.c:201:1: warning: data definition has no type or storage class [enabled by default]
       module_init(anslcd_init);
       ^
      drivers/macintosh/ans-lcd.c:201:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
      drivers/macintosh/ans-lcd.c:201:1: warning: parameter names (without types) in function declaration [enabled by default]
      drivers/macintosh/ans-lcd.c:202:1: warning: data definition has no type or storage class [enabled by default]
       module_exit(anslcd_exit);
       ^
      drivers/macintosh/ans-lcd.c:202:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
      drivers/macintosh/ans-lcd.c:202:1: warning: parameter names (without types) in function declaration [enabled by default]
      drivers/macintosh/ans-lcd.c:155:1: warning: 'anslcd_init' defined but not used [-Wunused-function]
       anslcd_init(void)
       ^
      drivers/macintosh/ans-lcd.c:195:1: warning: 'anslcd_exit' defined but not used [-Wunused-function]
       anslcd_exit(void)
       ^
      
      This commit fixes it by replacing linux/init.h by linux/module.h.
      
      Fixes: 0fd972a7 ("module: relocate module_init from init.h to module.h")
      Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
      Acked-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      120d200a
  12. 15 Jun, 2015 1 commit
  13. 24 Mar, 2015 2 commits
  14. 22 Mar, 2015 1 commit
    • David Gibson's avatar
      powerpc: Move Power Macintosh drivers to generic byteswappers · f5718726
      David Gibson authored
      ppc has special instruction forms to efficiently load and store values
      in non-native endianness.  These can be accessed via the arch-specific
      {ld,st}_le{16,32}() inlines in arch/powerpc/include/asm/swab.h.
      
      However, gcc is perfectly capable of generating the byte-reversing
      load/store instructions when using the normal, generic cpu_to_le*() and
      le*_to_cpu() functions eaning the arch-specific functions don't have much
      point.
      
      Worse the "le" in the names of the arch specific functions is now
      misleading, because they always generate byte-reversing forms, but some
      ppc machines can now run a little-endian kernel.
      
      To start getting rid of the arch-specific forms, this patch removes them
      from all the old Power Macintosh drivers, replacing them with the
      generic byteswappers.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      f5718726
  15. 16 Mar, 2015 2 commits
  16. 19 Dec, 2014 1 commit
  17. 20 Oct, 2014 1 commit
  18. 25 Sep, 2014 2 commits
  19. 23 Jun, 2014 2 commits
  20. 19 May, 2014 1 commit
  21. 06 Mar, 2014 2 commits
  22. 08 Dec, 2013 1 commit
  23. 04 Dec, 2013 1 commit
  24. 26 Nov, 2013 1 commit
  25. 30 Oct, 2013 1 commit
    • Christian Kujau's avatar
      powerpc/pmu: Fix ADB_PMU_LED_IDE dependencies · de00b30d
      Christian Kujau authored
      for quite some time the following is printed (twice) after doing
      "make oldconfig":
      
      [...]
      scripts/kconfig/conf --oldconfig Kconfig
      warning: (ADB_PMU_LED_IDE) selects LEDS_TRIGGER_IDE_DISK which has unmet direct dependencies (NEW_LEDS && IDE_GD_ATA && LEDS_TRIGGERS)
      warning: (ADB_PMU_LED_IDE) selects LEDS_TRIGGER_IDE_DISK which has unmet direct dependencies (NEW_LEDS && IDE_GD_ATA && LEDS_TRIGGERS)
      
      The following patch causes ADB_PMU_LED to depend on IDE_GD_ATA, so that
      the options above are only available when IDE_GD_ATA is actually selected
      and thus eliminates the warning.
      Signed-off-by: default avatarChristian Kujau <lists@nerdbynature.de>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      de00b30d
  26. 09 Oct, 2013 1 commit
  27. 13 Aug, 2013 1 commit
  28. 31 Jul, 2013 1 commit
  29. 30 Jun, 2013 2 commits