WSL2-Linux-Kernel/drivers/i2c/busses
Jayachandran C 6beaddf243 i2c: ocores: Fix pointer to integer cast warning
After commit a000b8c1 [i2c: ocores: Add support for the GRLIB port of the
controller and use function pointers for getreg and setreg function],
compiling i2c-ocores.c for 64-bit gives the following warning:

  drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_of_probe':
  drivers/i2c/busses/i2c-ocores.c:334:15: warning: cast from pointer to integer of different size

Fix it by casting the pointer to long.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2013-02-21 10:18:41 +01:00
..
Kconfig i2c: i801: Add Device IDs for Intel Wellsburg PCH 2013-02-15 20:46:01 +01:00
Makefile i2c: add bcm2835 driver 2013-02-12 11:33:59 +01:00
i2c-acorn.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
i2c-ali15x3.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-ali1535.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-ali1563.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-amd756-s4882.c
i2c-amd756.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-amd8111.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-at91.c i2c: at91: fix unsed variable warning when building with !CONFIG_OF 2013-02-10 19:55:26 +01:00
i2c-au1550.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-bcm2835.c i2c: add bcm2835 driver 2013-02-12 11:33:59 +01:00
i2c-bfin-twi.c i2c: i2c-bfin-twi: Move blackfin TWI register access Macro to head file. 2012-07-13 08:37:31 +02:00
i2c-cbus-gpio.c i2c: i2c-cbus-gpio: introduce driver 2012-11-19 09:57:16 +01:00
i2c-cpm.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-davinci.c Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux 2012-10-11 10:27:51 +09:00
i2c-designware-core.c i2c-designware: always set the STOP bit after last byte 2013-01-28 05:26:42 +01:00
i2c-designware-core.h i2c: designware: Add support for 16bit register access 2012-05-12 14:28:11 +02:00
i2c-designware-pcidrv.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-designware-platdrv.c i2c-designware: add support for Intel Lynxpoint 2013-01-28 05:26:42 +01:00
i2c-diolan-u2c.c i2c: diolan-u2c: Fix master_xfer return code 2012-08-18 12:27:27 +02:00
i2c-eg20t.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-elektor.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-gpio.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-highlander.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-hydra.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-i801.c i2c: i801: Add Device IDs for Intel Wellsburg PCH 2013-02-15 20:46:01 +01:00
i2c-ibm_iic.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-ibm_iic.h
i2c-imx.c i2c: imx: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:15 +08:00
i2c-intel-mid.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-iop3xx.c i2c: iop3xx: use standard gpiolib functions 2012-07-25 09:26:41 -05:00
i2c-iop3xx.h i2c-iop3xx: add iomem annotation 2011-01-04 00:53:37 +00:00
i2c-isch.c i2c: isch: Add module parameter for backbone clock rate if divider is unset 2013-02-11 15:53:49 +01:00
i2c-ismt.c i2c: fix i2c-ismt.c printk format warning 2013-02-15 20:46:51 +01:00
i2c-mpc.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-mv64xxx.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-mxs.c i2c: mxs: Implement arbitrary clock speed derivation algorithm 2013-02-10 19:55:14 +01:00
i2c-nforce2-s4985.c
i2c-nforce2.c i2c: nforce2: fix coding style issues 2013-01-28 05:26:42 +01:00
i2c-nomadik.c i2c: nomadik: drop superfluous variable initialization 2013-01-28 05:26:44 +01:00
i2c-nuc900.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-ocores.c i2c: ocores: Fix pointer to integer cast warning 2013-02-21 10:18:41 +01:00
i2c-octeon.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-omap.c i2c: omap: fix draining irq handling 2013-01-22 16:17:05 +01:00
i2c-parport-light.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-parport.c i2c-parport: i2c_parport_irq can be static 2012-10-05 22:23:53 +02:00
i2c-parport.h i2c-parport: Various cleanups 2011-05-24 20:58:49 +02:00
i2c-pasemi.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-pca-isa.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-pca-platform.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-piix4.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-pmcmsp.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-pnx.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-powermac.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-puv3.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-pxa-pci.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-pxa.c i2c/i2c-pxa: remove conditional compilation of clk code 2012-07-30 17:25:12 -07:00
i2c-rcar.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-s3c2410.c i2c: s3c2410: Add quirk to exclude GPIO config for exynos5440 2013-01-28 05:26:45 +01:00
i2c-s6000.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-s6000.h i2c: Change mail address of Oskar Schirmer 2012-05-17 15:15:56 +02:00
i2c-scmi.c i2c-scmi: convert to module_acpi_driver() 2012-09-21 13:39:56 -04:00
i2c-sh7760.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-sh_mobile.c i2c: sh_mobile: don't send a stop condition by default inside transfers 2013-02-10 19:55:24 +01:00
i2c-sibyte.c
i2c-simtec.c i2c/busses: Use module_platform_driver() 2012-01-12 20:32:04 +01:00
i2c-sirf.c i2c: sirf: register i2c_client from dt child-nodes in probe entry 2013-01-22 09:54:31 +01:00
i2c-sis96x.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-sis630.c i2c: sis630: checkpatch cleanup 2013-02-11 15:59:40 +01:00
i2c-sis5595.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-stu300.c i2c: stu300: use devm managed resources 2012-07-16 13:48:51 +02:00
i2c-taos-evm.c i2c-taos-evm: Fix log messages 2011-06-29 11:36:10 +02:00
i2c-tegra.c i2c: tegra: remove warning dump if timeout happen in transfer 2013-02-15 21:08:29 +01:00
i2c-tiny-usb.c i2c-tiny-usb: Add support for the Robofuzz OSIF USB/I2C converter 2012-07-24 14:13:59 +02:00
i2c-versatile.c i2c: Dynamically assign adapter id if it wasn't explictly specified 2012-05-12 14:28:11 +02:00
i2c-via.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-viapro.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-viperboard.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-xiic.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
i2c-xlr.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
scx200_acb.c i2c: remove __dev* attributes from subsystem 2012-12-22 20:13:45 +01:00
scx200_i2c.c i2c/scx200_*: Replace printks with pr_<level>s 2012-10-05 22:23:52 +02:00