1. 29 6月, 2011 1 次提交
    • S
      net: include io.h in sja1000_of_platform.c for iounmap etc · 8d0f7cea
      Stephen Rothwell 提交于
      fixes these build errors:
      
      drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_read_reg':
      drivers/net/can/sja1000/sja1000_of_platform.c:61:2: error: implicit declaration of function 'in_8'
      drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_write_reg':
      drivers/net/can/sja1000/sja1000_of_platform.c:67:2: error: implicit declaration of function 'out_8'
      drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_remove':
      drivers/net/can/sja1000/sja1000_of_platform.c:81:2: error: implicit declaration of function 'iounmap'
      drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_probe':
      drivers/net/can/sja1000/sja1000_of_platform.c:113:2: error: implicit declaration of function 'ioremap_nocache'
      drivers/net/can/sja1000/sja1000_of_platform.c:113:7: warning: assignment makes pointer from integer without a cast
      
      Caused by commit b7f080cf ("net: remove mm.h inclusion from
      netdevice.h").
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8d0f7cea
  2. 01 3月, 2011 1 次提交
  3. 18 11月, 2010 1 次提交
  4. 06 8月, 2010 1 次提交
  5. 22 5月, 2010 1 次提交
    • G
      of: Remove duplicate fields from of_platform_driver · 4018294b
      Grant Likely 提交于
      .name, .match_table and .owner are duplicated in both of_platform_driver
      and device_driver.  This patch is a removes the extra copies from struct
      of_platform_driver and converts all users to the device_driver members.
      
      This patch is a pretty mechanical change.  The usage model doesn't change
      and if any drivers have been missed, or if anything has been fixed up
      incorrectly, then it will fail with a compile time error, and the fixup
      will be trivial.  This patch looks big and scary because it touches so
      many files, but it should be pretty safe.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NSean MacLennan <smaclennan@pikatech.com>
      4018294b
  6. 19 5月, 2010 1 次提交
  7. 13 4月, 2010 1 次提交
  8. 15 10月, 2009 1 次提交
  9. 10 6月, 2009 1 次提交
  10. 01 6月, 2009 1 次提交
    • W
      can: sja1000: generic OF platform bus driver · d1a277c5
      Wolfgang Grandegger 提交于
      This patch adds a generic driver for SJA1000 chips on the OpenFirmware
      platform bus found on embedded PowerPC systems. You need a SJA1000 node
      definition in your flattened device tree source (DTS) file similar to:
      
        can@3,100 {
        	compatible = "nxp,sja1000";
        	reg = <3 0x100 0x80>;
        	interrupts = <2 0>;
        	interrupt-parent = <&mpic>;
        	nxp,external-clock-frequency = <16000000>;
        };
      
      See also Documentation/powerpc/dts-bindings/can/sja1000.txt.
      
      CC: devicetree-discuss@ozlabs.org
      Signed-off-by: NWolfgang Grandegger <wg@grandegger.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d1a277c5