1. Dec 10, 2011
    • Jeremy Fitzhardinge's avatar
      power_supply: add SCOPE attribute to power supplies · 25a0bc2d
      Jeremy Fitzhardinge authored
      
      
      This adds a "scope" attribute to a power_supply, which indicates how
      much of the system it powers.  It appears in sysfs as "scope" or in
      the uevent file as POWER_SUPPLY_SCOPE=.  There are presently three
      possible values:
      	Unknown - unknown power topology
      	System - the power supply powers the whole system
      	Device - it powers a specific device, or tree of devices
      
      A power supply which doesn't have a "scope" attribute should be assumed to
      have "System" scope.
      
      In general, usermode should assume that loss of all System-scoped power
      supplies will power off the whole system, but any single one is sufficient
      to power the system.
      
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy@goop.org>
      Cc: Richard Hughes <richard@hughsie.com>
      25a0bc2d
  2. Nov 16, 2011
  3. Nov 15, 2011
    • Liu Gang's avatar
      fsl-rio: fix compile error · e0ce42e1
      Liu Gang authored
      
      
      The "#include <linux/module.h>" was replaced by "#include <linux/export.h>"
      in the patch "powerpc: various straight conversions from module.h --> export.h".
      This will cause the following compile problem:
      arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception':
      arch/powerpc/sysdev/fsl_rio.c:296: error: implicit declaration of function 'search_exception_tables'.
      
      The file fsl_rio.c needs the declaration of function "search_exception_tables"
      in the header file "linux/module.h".
      
      Signed-off-by: default avatarLiu Gang <Gang.Liu@freescale.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      e0ce42e1
  4. Nov 14, 2011
  5. Nov 13, 2011
  6. Nov 12, 2011
  7. Nov 11, 2011