1. 18 7月, 2012 2 次提交
  2. 21 6月, 2012 1 次提交
    • A
      pstore/ram: Probe as early as possible · 924d3711
      Anton Vorontsov 提交于
      Registering the platform driver before module_init allows us to log oopses
      that happen during device probing.
      
      This requires changing module_init to postcore_initcall, and switching
      from platform_driver_probe to platform_driver_register because the
      platform device is not registered when the platform driver is registered;
      and because we use driver_register, now can't use create_bundle() (since
      it will try to register the same driver once again), so we have to switch
      to platform_device_register_data().
      
      Also, some __init -> __devinit changes were needed.
      
      Overall, the registration logic is now much clearer, since we have only
      one driver registration point, and just an optional dummy device, which
      is created from the module parameters.
      Suggested-by: NColin Cross <ccross@android.com>
      Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org>
      Acked-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      924d3711
  3. 14 6月, 2012 4 次提交
  4. 17 5月, 2012 2 次提交
  5. 16 5月, 2012 1 次提交
  6. 27 7月, 2011 2 次提交
  7. 28 10月, 2010 1 次提交