mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
Staging: comedi: drivers: ni_pcimio: Fix variable name
Fixed a variable name that was Camel case Signed-off-by: Eric Yu <ejyu99@gmail.com> Link: https://lore.kernel.org/r/20200503021247.250785-1-ejyu99@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3aff3c974b
commit
70f4c9f0e6
1 changed files with 2 additions and 2 deletions
|
@ -1214,7 +1214,7 @@ static void m_series_init_eeprom_buffer(struct comedi_device *dev)
|
|||
struct ni_private *devpriv = dev->private;
|
||||
struct mite *mite = devpriv->mite;
|
||||
resource_size_t daq_phys_addr;
|
||||
static const int Start_Cal_EEPROM = 0x400;
|
||||
static const int start_cal_eeprom = 0x400;
|
||||
static const unsigned int window_size = 10;
|
||||
unsigned int old_iodwbsr_bits;
|
||||
unsigned int old_iodwbsr1_bits;
|
||||
|
@ -1234,7 +1234,7 @@ static void m_series_init_eeprom_buffer(struct comedi_device *dev)
|
|||
writel(0xf, mite->mmio + 0x30);
|
||||
|
||||
for (i = 0; i < M_SERIES_EEPROM_SIZE; ++i)
|
||||
devpriv->eeprom_buffer[i] = ni_readb(dev, Start_Cal_EEPROM + i);
|
||||
devpriv->eeprom_buffer[i] = ni_readb(dev, start_cal_eeprom + i);
|
||||
|
||||
writel(old_iodwbsr1_bits, mite->mmio + MITE_IODWBSR_1);
|
||||
writel(old_iodwbsr_bits, mite->mmio + MITE_IODWBSR);
|
||||
|
|
Loading…
Reference in a new issue