Convert CONFIG_SYS_FPGA_CHECK_BUSY to Kconfig
[platform/kernel/u-boot.git] / drivers / serial / serial_stm32.h
index 7b0c531..5bee68f 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef _SERIAL_STM32_
 #define _SERIAL_STM32_
 
+#include <linux/bitops.h>
 #define CR1_OFFSET(x)  (x ? 0x0c : 0x00)
 #define CR3_OFFSET(x)  (x ? 0x14 : 0x08)
 #define BRR_OFFSET(x)  (x ? 0x08 : 0x0c)
@@ -47,7 +48,7 @@ struct stm32_uart_info stm32h7_info = {
 };
 
 /* Information about a serial port */
-struct stm32x7_serial_platdata {
+struct stm32x7_serial_plat {
        fdt_addr_t base;  /* address of registers in physical memory */
        struct stm32_uart_info *uart_info;
        unsigned long int clock_rate;