diff options
| author | Vitaly Bordug <[email protected]> | 2007-07-09 11:37:35 -0700 |
|---|---|---|
| committer | Kumar Gala <[email protected]> | 2007-07-10 00:33:51 -0500 |
| commit | 80128ff79d282cf71b1819dbca9b8dd47d8ed3e8 (patch) | |
| tree | c09b48586370aad5bb5d424dea4401778bc1bf2a /include/linux | |
| parent | 90faf4fa7964a08d36160f7bc3c252866ad1275a (diff) | |
[POWERPC] 8xx: mpc885ads pcmcia support
Adds support for PowerQuicc on-chip PCMCIA. The driver is implemented as
of_device, so only arch/powerpc stuff is capable to use it, which now implies
only mpc885ads reference board.
To cope with the code that should be hooked inside driver, but is really board
specific (like set_voltage), global structure mpc8xx_pcmcia_ops holds
necessary function pointers that are filled in the BSP code.
[[email protected]: whitespace diddles]
Signed-off-by: Vitaly Bordug <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Cc: Dominik Brodowski <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fsl_devices.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 73710d617775..12e631f0fb77 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -120,5 +120,10 @@ struct fsl_spi_platform_data { u32 sysclk; }; +struct mpc8xx_pcmcia_ops { + void(*hw_ctrl)(int slot, int enable); + int(*voltage_set)(int slot, int vcc, int vpp); +}; + #endif /* _FSL_DEVICE_H_ */ #endif /* __KERNEL__ */ |