diff options
author | Mike Fiore <mfiore@multitech.com> | 2014-09-10 11:55:38 -0500 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2014-09-10 11:55:38 -0500 |
commit | 24c012065ca7a764e1e51a9cfc4422d649cd2851 (patch) | |
tree | c97fbd1a61dc6f58ed1784f0299100746148d3bd /io-module/spi.c | |
parent | 64d8ebafbf55fa4a4547184bfbdc73ad43eb6a4c (diff) | |
download | mts-io-24c012065ca7a764e1e51a9cfc4422d649cd2851.tar.gz mts-io-24c012065ca7a764e1e51a9cfc4422d649cd2851.tar.bz2 mts-io-24c012065ca7a764e1e51a9cfc4422d649cd2851.zip |
rename all "mtdc_*" variables to "mtac_*"
Diffstat (limited to 'io-module/spi.c')
-rw-r--r-- | io-module/spi.c | 12 |
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; } |