1. 28 6月, 2012 2 次提交
  2. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  3. 06 6月, 2012 5 次提交
  4. 03 6月, 2012 1 次提交
  5. 23 5月, 2012 1 次提交
  6. 12 5月, 2012 1 次提交
  7. 03 5月, 2012 2 次提交
  8. 25 4月, 2012 1 次提交
    • S
      net fec: do not depend on grouped clocks · f4d40de3
      Sascha Hauer 提交于
      the current i.MX clock support groups together unrelated clocks
      to a single clock which is then used by the driver. This can't
      be accomplished with the generic clock framework so we instead
      request the individual clocks in the driver. For i.MX there are
      generally three different clocks:
      
      ipg: bus clock (needed to access registers)
      ahb: dma relevant clock, sometimes referred to as hclk in the datasheet
      per: bit clock, pixel clock
      
      This patch changes the driver to request the individual clocks.
      Currently all clk_get will get the same clock until the SoCs
      are converted to the generic clock framework
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      f4d40de3
  9. 22 4月, 2012 1 次提交
  10. 06 4月, 2012 1 次提交
  11. 04 4月, 2012 5 次提交
  12. 02 4月, 2012 1 次提交
  13. 29 3月, 2012 1 次提交
  14. 26 3月, 2012 1 次提交
  15. 20 3月, 2012 1 次提交
  16. 19 3月, 2012 1 次提交
  17. 17 3月, 2012 1 次提交
  18. 16 3月, 2012 3 次提交
  19. 05 3月, 2012 1 次提交
  20. 14 2月, 2012 1 次提交
  21. 08 2月, 2012 1 次提交
    • F
      net: fec: Fix build due to wrong dev annotation · b72061a3
      Fabio Estevam 提交于
      commit 21a4e469 (netdev: ethernet dev_alloc_skb to netdev_alloc_skb)
      should have used "ndev" instead of "dev".
      
      This causes the following build errors:
      
      drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_rx':
      drivers/net/ethernet/freescale/fec.c:714: error: 'dev' undeclared (first use in this function)
      drivers/net/ethernet/freescale/fec.c:714: error: (Each undeclared identifier is reported only once
      drivers/net/ethernet/freescale/fec.c:714: error: for each function it appears in.)
      drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_alloc_buffers':
      drivers/net/ethernet/freescale/fec.c:1213: error: 'dev' undeclared (first use in this function)
      
      Fix it, so that fec driver can be built again.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b72061a3
  22. 07 2月, 2012 1 次提交
  23. 01 2月, 2012 1 次提交
  24. 31 1月, 2012 1 次提交
  25. 25 1月, 2012 1 次提交
  26. 13 1月, 2012 3 次提交