]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/fsl_devices.h
Merge branch 'next' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc...
[karo-tx-linux.git] / include / linux / fsl_devices.h
index 4953709f687ae3b0e8b1ab545bf64fa60ad5893c..f2a78b5e8b5509be63ce810beb661af38f3d9e5b 100644 (file)
@@ -73,14 +73,15 @@ struct fsl_usb2_platform_data {
 #define FSL_USB2_PORT0_ENABLED 0x00000001
 #define FSL_USB2_PORT1_ENABLED 0x00000002
 
+struct spi_device;
+
 struct fsl_spi_platform_data {
        u32     initial_spmode; /* initial SPMODE value */
-       u16     bus_num;
+       s16     bus_num;
        bool    qe_mode;
        /* board specific information */
        u16     max_chipselect;
-       void    (*activate_cs)(u8 cs, u8 polarity);
-       void    (*deactivate_cs)(u8 cs, u8 polarity);
+       void    (*cs_control)(struct spi_device *spi, bool on);
        u32     sysclk;
 };