Merge branch 'merge' of git://git.secretlab.ca/git/linux-2.6 into merge
[firefly-linux-kernel-4.4.55.git] / include / linux / fsl_devices.h
index 43fc95d822d5e51f2ddd21321a2791c96613abf4..244677cc082bba2a1173d49b9c5d15610b041cc4 100644 (file)
@@ -79,6 +79,10 @@ struct fsl_spi_platform_data {
        u16     max_chipselect;
        void    (*cs_control)(struct spi_device *spi, bool on);
        u32     sysclk;
+
+       /* Legacy hooks, used by mpc52xx_psc_spi driver. */
+       void    (*activate_cs)(u8 cs, u8 polarity);
+       void    (*deactivate_cs)(u8 cs, u8 polarity);
 };
 
 struct mpc8xx_pcmcia_ops {