SPI: Add a board-specific SPI device value

This commit is contained in:
Gregory Nutt 2015-03-02 10:17:12 -06:00
parent 3df273658c
commit 81e8524588
1 changed files with 2 additions and 1 deletions

View File

@ -363,7 +363,8 @@ enum spi_dev_e
SPIDEV_AUDIO_CTRL, /* Select SPI audio codec device control port */ SPIDEV_AUDIO_CTRL, /* Select SPI audio codec device control port */
SPIDEV_EEPROM, /* Select SPI EEPROM device */ SPIDEV_EEPROM, /* Select SPI EEPROM device */
SPIDEV_ACCELEROMETER, /* Select SPI Accelerometer device */ SPIDEV_ACCELEROMETER, /* Select SPI Accelerometer device */
SPIDEV_BAROMETER /* Select SPI Pressure/Barometer device */ SPIDEV_BAROMETER, /* Select SPI Pressure/Barometer device */
SPIDEV_USER /* Board-specific values start here */
}; };
/* Certain SPI devices may required differnt clocking modes */ /* Certain SPI devices may required differnt clocking modes */