Skip to content
Permalink
Browse files

include/uart.h: remove unused PCI references

None of the UART drivers actually reference the PCI data members
declared in this header, so they are removed.

Signed-off-by: Charles Youse <charles.youse@intel.com>
  • Loading branch information...
Charles Youse authored and galak committed Apr 19, 2019
1 parent 1afa9d0 commit dd2a0867609df9a61ca90a412438f32e4e03831a
Showing with 0 additions and 8 deletions.
  1. +0 −8 include/uart.h
@@ -225,10 +225,6 @@ struct uart_event {
*/
typedef void (*uart_callback_t)(struct uart_event *evt, void *user_data);

#ifdef CONFIG_PCI
#include <drivers/pci/pci.h>
#include <drivers/pci/pci_mgr.h>
#endif
/**
* @brief Options for @a UART initialization.
*/
@@ -332,10 +328,6 @@ struct uart_device_config {

u32_t sys_clk_freq;

#ifdef CONFIG_PCI
struct pci_dev_info pci_dev;
#endif /* CONFIG_PCI */

#ifdef CONFIG_UART_INTERRUPT_DRIVEN
uart_irq_config_func_t irq_config_func;
#endif

0 comments on commit dd2a086

Please sign in to comment.
You can’t perform that action at this time.