arch/arm/src/stm32l4, drivers/sensors/t67xx.c: Fix trivial build failures caused by recent commits

This commit is contained in:
Juha Niskanen 2019-05-29 06:51:02 -06:00 committed by Gregory Nutt
parent 591d0e7471
commit c77e016ee8
3 changed files with 2 additions and 3 deletions

View File

@ -1333,7 +1333,7 @@ static void stm32l4_i2c_setclock(FAR struct stm32l4_i2c_priv_s *priv,
#if defined(STM32L4_I2C_USE_HSI16) || (STM32L4_PCLK1_FREQUENCY == 16000000)
i2cclk_mhz = 16;
#elif STM32L4_PCLK1_FREQUENCY == 80000000
i2cclk_mhz = 80
i2cclk_mhz = 80;
#elif STM32L4_PCLK1_FREQUENCY == 120000000
i2cclk_mhz = 120;
#else

View File

@ -52,7 +52,7 @@
#include "up_arch.h"
#include "stm32l4_rcc.h"
#include "hardware/stm32l4_dbgmcu.h"
#include "stm32l4_dbgmcu.h"
#include "stm32l4_wdg.h"
#if defined(CONFIG_WATCHDOG) && defined(CONFIG_STM32L4_IWDG)

View File

@ -180,7 +180,6 @@ static const struct file_operations g_t67xxfops =
NULL, /* seek */
t67xx_ioctl, /* ioctl */
NULL /* poll */
#endif
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
, NULL /* unlink */
#endif