1. 10 8月, 2012 1 次提交
    • A
      omap-rng: fix use of SIMPLE_DEV_PM_OPS · 59596df6
      Arnd Bergmann 提交于
      omap_rng_suspend and omap_rng_resume are unused if CONFIG_PM is enabled
      but CONFIG_PM_SLEEP is disabled. I found this while building all defconfig
      files on ARM. It's not clear to me if this is the right solution, but
      at least it makes the code consistent again.
      
      Without this patch, building omap1_defconfig results in:
      
      drivers/char/hw_random/omap-rng.c:165:12: warning: 'omap_rng_suspend' defined but not used [-Wunused-function]
      drivers/char/hw_random/omap-rng.c:171:12: warning: 'omap_rng_resume' defined but not used [-Wunused-function]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKevin Hilman <khilman@ti.com>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      59596df6
  2. 11 7月, 2012 1 次提交
  3. 27 4月, 2012 1 次提交
  4. 25 2月, 2012 1 次提交
  5. 30 6月, 2011 1 次提交
  6. 16 2月, 2011 1 次提交
  7. 25 9月, 2009 1 次提交
  8. 02 6月, 2009 1 次提交
    • U
      hwrng: omap - Move probe function to .devinit.text · 9f171adc
      Uwe Kleine-König 提交于
      A pointer to omap_rng_probe is passed to the core via
      platform_driver_register and so the function must not disappear when the
      .init sections are discarded.  Otherwise (if also having HOTPLUG=y)
      unbinding and binding a device to the driver via sysfs will result in an
      oops as does a device being registered late.
      
      An alternative to this patch is using platform_driver_probe instead of
      platform_driver_register plus removing the pointer to the probe function
      from the struct platform_driver.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Cc: Patrick McHardy <kaber@trash.net>
      Cc: Jan Engelhardt <jengelh@gmx.de>
      Cc: Michael Buesch <mb@bu3sch.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      9f171adc
  9. 09 2月, 2009 1 次提交
  10. 24 1月, 2009 1 次提交
  11. 06 9月, 2008 1 次提交
  12. 21 4月, 2008 1 次提交
  13. 11 1月, 2008 1 次提交
  14. 20 10月, 2007 1 次提交
  15. 04 10月, 2006 1 次提交
  16. 06 8月, 2006 1 次提交
  17. 27 6月, 2006 1 次提交