linux/drivers/pcmcia
Arnd Bergmann 58409f9d21 pcmcia: journada720: use sa1100 pin interfaces correctly
commit dabd14684b "PCMCIA: sa1111: remove duplicated initializers"
incorrectly moved some code into the pcmcia_jornada720_init, causing
a few build errors, and for unknown reasons, the driver lacks
an inclusion of <linux/io.h>, so we get the build errors, and more:

sa1111_jornada720.c: In function 'pcmcia_jornada720_init':
sa1111_jornada720.c:101:3: error: implicit declaration of function 'IOMEM' [-Werror=implicit-function-declaration]
   GRER |= 0x00000002;
   ^
sa1111_jornada720.c:104:3: warning: passing argument 1 of 'sa1111_set_io_dir' from incompatible pointer type [enabled by default]
   sa1111_set_io_dir(dev, pin, 0, 0);
   ^

This patch uses the SA1111_DEV() to convert the dev pointer to the
correct type before passing it and adds the missing include.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: linux-pcmcia@lists.infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-09 14:41:30 -07:00
..
at91_cf.c pcmcia: at91_cf: fix deferred probe from __init 2013-09-26 16:18:32 -07:00
bcm63xx_pcmcia.c pcmcia: remove use of __devexit 2012-11-28 12:10:16 -08:00
bcm63xx_pcmcia.h
bfin_cf_pcmcia.c pcmcia: Remove superfluous name casts 2013-12-08 22:47:13 -08:00
cardbus.c pcmcia: Use pci_is_bridge() to simplify code 2014-05-27 14:58:24 -06:00
cirrus.h
cistpl.c
cs_internal.h
cs.c pcmcia: move unbind/rebind into dev_pm_ops.complete 2013-02-21 17:22:16 -08:00
db1xxx_ss.c pcmcia: remove use of __devexit 2012-11-28 12:10:16 -08:00
ds.c pcmcia: convert bus code to use dev_groups 2013-10-16 18:36:03 -07:00
electra_cf.c pcmcia: Remove superfluous name casts 2013-12-08 22:47:13 -08:00
i82092.c PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_dev 2013-12-21 10:06:10 -07:00
i82092aa.h
i82365.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
i82365.h
Kconfig pcmcia: pxa2xx: fix logic for lubbock 2014-07-09 14:41:30 -07:00
m8xx_pcmcia.c powerpc: add missing explicit OF includes for ppc 2013-11-11 09:10:50 -06:00
m32r_cfc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
m32r_cfc.h
m32r_pcc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
m32r_pcc.h
Makefile pcmcia: sa1100: H3100 and H3600 share a driver 2014-07-09 14:41:30 -07:00
o2micro.h
omap_cf.c ARM: OMAP1: Move plat/tc.h to mach/tc.h for omap1 2012-10-17 11:36:40 -07:00
pcmcia_cis.c
pcmcia_resource.c Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
pd6729.c drivers/pcmcia/pd6729.c: convert to module_pci_driver 2013-09-26 08:54:25 -07:00
pd6729.h
pxa2xx_balloon3.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_base.c ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe() 2012-09-21 15:33:58 +08:00
pxa2xx_base.h pcmcia vs. MECR on pxa25x/sa1111 2011-02-19 12:22:35 +01:00
pxa2xx_cm_x2xx.c ARM: PXA: fix includes in pxa2xx_cm_x2xx PCMCIA driver 2011-11-05 22:26:46 +00:00
pxa2xx_cm_x255.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_cm_x270.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_colibri.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_e740.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_hx4700.c pcmcia: add driver for hx4700 2012-05-07 09:56:39 +08:00
pxa2xx_mainstone.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_palmld.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_palmtc.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_palmtx.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_sharpsl.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
pxa2xx_stargate2.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_trizeps4.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
pxa2xx_viper.c ARM: pxa: move platform_data definitions 2012-09-14 11:18:10 +02:00
pxa2xx_vpac270.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
ricoh.h
rsrc_iodyn.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
rsrc_mgr.c
rsrc_nonstatic.c Merge branch 'master' into for-next 2013-01-29 10:48:30 +01:00
sa11xx_base.c cpufreq: remove unused notifier: CPUFREQ_{SUSPENDCHANGE|RESUMECHANGE} 2014-03-19 14:10:24 +01:00
sa11xx_base.h
sa1100_assabet.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1100_cerf.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1100_generic.c pcmcia: remove use of __devinitdata 2012-11-28 12:10:16 -08:00
sa1100_generic.h ARM: 6458/1: pcmcia: Adds nanoEngine PCMCIA support. 2010-12-21 14:53:45 +00:00
sa1100_h3600.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1100_nanoengine.c PCMCIA: soc_common: remove explicit wrprot initialization in socket drivers 2012-02-21 14:27:04 +00:00
sa1100_shannon.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1100_simpad.c pcmcia: remove use of __devinit 2012-11-28 12:10:16 -08:00
sa1111_badge4.c PCMCIA: sa1111: rename sa1111 socket drivers to have sa1111_ prefix. 2012-02-21 14:27:18 +00:00
sa1111_generic.c pcmcia: remove use of __devexit 2012-11-28 12:10:16 -08:00
sa1111_generic.h PCMCIA: sa1111: use new per-socket irq/gpio infrastructure 2012-02-04 14:32:23 +00:00
sa1111_jornada720.c pcmcia: journada720: use sa1100 pin interfaces correctly 2014-07-09 14:41:30 -07:00
sa1111_lubbock.c PCMCIA: sa1111: rename sa1111 socket drivers to have sa1111_ prefix. 2012-02-21 14:27:18 +00:00
sa1111_neponset.c Merge branch 'platforms' of git://git.linaro.org/people/rmk/linux-arm 2012-03-27 18:17:02 -07:00
soc_common.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
soc_common.h PCMCIA: soc_common: remove soc_pcmcia_*_irqs functions 2012-02-21 14:27:03 +00:00
socket_sysfs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
tcic.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
tcic.h
ti113x.h Fix common misspellings 2011-03-31 11:26:23 -03:00
topic.h
vg468.h
vrc4171_card.c pcmcia/vrc4171: Add missing spinlock init 2013-01-17 12:07:34 -08:00
vrc4173_cardu.c pcmcia: remove use of __devexit 2012-11-28 12:10:16 -08:00
vrc4173_cardu.h
xxs1500_ss.c pcmcia: remove use of __devexit 2012-11-28 12:10:16 -08:00
yenta_socket.c pcmcia: Use list_for_each_entry() for bus traversal 2014-02-14 11:20:51 -07:00
yenta_socket.h