From 24c012065ca7a764e1e51a9cfc4422d649cd2851 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Wed, 10 Sep 2014 11:55:38 -0500 Subject: rename all "mtdc_*" variables to "mtac_*" --- io-module/spi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'io-module/spi.c') 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; } -- cgit v1.2.3