1. 28 7月, 2008 12 次提交
  2. 13 7月, 2008 1 次提交
    • E
      [NET] smc91x: remove "irq_flags" from "struct smc91x_platdata" · d280eadc
      Eric Miao 提交于
      IRQ trigger type can be specified in the IRQ resource definition by
      IORESOURCE_IRQ_*, we need only one way to specify this.
      
      This also fixes the following small issue:
      
      To allow dynamic support for multiple platforms, when those relevant
      macros are not defined for one specific platform, the default case
      will be:
      
      	- SMC_DYNAMIC_BUS_CONFIG defined
      	- and SMC_IRQ_FLAGS = IRQF_TRIGGER_RISING
      
      While if "irq_flags" is missing when defining the smc91x_platdata,
      usually as follows:
      
        static struct smc91x_platdata xxxx_smc91x_data = {
      	.flags	= SMC91X_USE_XXBIT,
        };
      
      The lp->cfg.irq_flags will always be overriden by the above structure
      (due to a memcpy), thus rendering lp->cfg.irq_flags to be "0" always.
      (regardless of the default SMC_IRQ_FLAGS or IORESOURCE_IRQ_* flags)
      
      Fixes this by forcing to use IORESOURCE_IRQ_* flags if present, and
      make the only user of smc91x_platdata.irq_flags (renesas/migor) to
      use IORESOURCE_IRQ_*.
      Signed-off-by: NEric Miao <eric.miao@marvell.com>
      Acked-by: NNicolas Pitre <nico@cam.org>
      Acked-by: NJeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d280eadc
  3. 23 5月, 2008 1 次提交
  4. 08 5月, 2008 3 次提交
  5. 30 4月, 2008 1 次提交
    • J
      i2c: Convert most new-style drivers to use module aliasing · 3760f736
      Jean Delvare 提交于
      Based on earlier work by Jon Smirl and Jochen Friedrich.
      
      Update most new-style i2c drivers to use standard module aliasing
      instead of the old driver_name/type driver matching scheme. I've
      left the video drivers apart (except for SoC camera drivers) as
      they're a bit more diffcult to deal with, they'll have their own
      patch later.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Jon Smirl <jonsmirl@gmail.com>
      Cc: Jochen Friedrich <jochen@scram.de>
      3760f736
  6. 19 4月, 2008 10 次提交
  7. 06 3月, 2008 2 次提交
  8. 14 2月, 2008 4 次提交
  9. 06 2月, 2008 1 次提交
  10. 28 1月, 2008 5 次提交