Merge tag 'sound-fix-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / eeprom_93xx46.h
1 /*
2  * Module: eeprom_93xx46
3  * platform description for 93xx46 EEPROMs.
4  */
5
6 struct eeprom_93xx46_platform_data {
7         unsigned char   flags;
8 #define EE_ADDR8        0x01            /*  8 bit addr. cfg */
9 #define EE_ADDR16       0x02            /* 16 bit addr. cfg */
10 #define EE_READONLY     0x08            /* forbid writing */
11
12         /*
13          * optional hooks to control additional logic
14          * before and after spi transfer.
15          */
16         void (*prepare)(void *);
17         void (*finish)(void *);
18 };