summaryrefslogtreecommitdiff
path: root/io-module/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/spi.c')
-rw-r--r--io-module/spi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/io-module/spi.c b/io-module/spi.c
index df663ae..e652b90 100644
--- a/io-module/spi.c
+++ b/io-module/spi.c
@@ -602,7 +602,7 @@ static int mts_spi_ap1_dout_probe(struct spi_device *spi)
{
int tmp;
- if (! have_accessory_card_slot_1 || mts_ap1_product_id != MTDC_GPIOB_0_0) {
+ if (! have_accessory_card_slot_1 || mts_ap1_product_id != MTAC_GPIOB_0_0) {
log_error("accessory card 1 digital outputs not available");
return -ENODEV;
}
@@ -648,7 +648,7 @@ static int mts_spi_ap1_din_probe(struct spi_device *spi)
{
int tmp;
- if (! have_accessory_card_slot_1 || mts_ap1_product_id != MTDC_GPIOB_0_0) {
+ if (! have_accessory_card_slot_1 || mts_ap1_product_id != MTAC_GPIOB_0_0) {
log_error("accessory card 1 digital inputs not available");
return -ENODEV;
}
@@ -691,7 +691,7 @@ static int mts_spi_ap1_adc_probe(struct spi_device *spi)
{
int tmp;
- if (! have_accessory_card_slot_1 || mts_ap1_product_id != MTDC_GPIOB_0_0) {
+ if (! have_accessory_card_slot_1 || mts_ap1_product_id != MTAC_GPIOB_0_0) {
log_error("accessory card 1 analog to digital not available");
return -ENODEV;
}
@@ -735,7 +735,7 @@ static int mts_spi_ap2_dout_probe(struct spi_device *spi)
{
int tmp;
- if (! have_accessory_card_slot_2 || mts_ap2_product_id != MTDC_GPIOB_0_0) {
+ if (! have_accessory_card_slot_2 || mts_ap2_product_id != MTAC_GPIOB_0_0) {
log_error("accessory card 2 digital outputs not available");
return -ENODEV;
}
@@ -781,7 +781,7 @@ static int mts_spi_ap2_din_probe(struct spi_device *spi)
{
int tmp;
- if (! have_accessory_card_slot_2 || mts_ap2_product_id != MTDC_GPIOB_0_0) {
+ if (! have_accessory_card_slot_2 || mts_ap2_product_id != MTAC_GPIOB_0_0) {
log_error("accessory card 2 digital inputs not available");
return -ENODEV;
}
@@ -824,7 +824,7 @@ static int mts_spi_ap2_adc_probe(struct spi_device *spi)
{
int tmp;
- if (! have_accessory_card_slot_2 || mts_ap2_product_id != MTDC_GPIOB_0_0) {
+ if (! have_accessory_card_slot_2 || mts_ap2_product_id != MTAC_GPIOB_0_0) {
log_error("accessory card 2 analog to digital not available");
return -ENODEV;
}