With the goal of expanding the test coverage of the HiSi LPC driver to !ARM64, define a dummy PIO_INDIRECT_SIZE for !CONFIG_INDIRECT_PIO, which is required by the named driver.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -108,10 +108,10 @@ void logic_outsl(unsigned long addr, const void *buffer, unsigned int count); · 107 unmodified lines | |||
| 108 | * area by redefining the macro below. | 108 | * area by redefining the macro below. |
| 109 | */ | 109 | */ |
| 110 | #define PIO_INDIRECT_SIZE 0x4000 | 110 | #define PIO_INDIRECT_SIZE 0x4000 |
| 111 | #define MMIO_UPPER_LIMIT (IO_SPACE_LIMIT - PIO_INDIRECT_SIZE) | ||
| 112 | #else | 111 | #else |
| 113 | #define MMIO_UPPER_LIMIT IO_SPACE_LIMIT | 112 | #define PIO_INDIRECT_SIZE 0 |
| 114 | #endif /* CONFIG_INDIRECT_PIO */ | 113 | #endif /* CONFIG_INDIRECT_PIO */ |
| 114 | #define MMIO_UPPER_LIMIT (IO_SPACE_LIMIT - PIO_INDIRECT_SIZE) | ||
| 115 | 115 | ||
| 116 | struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode); | 116 | struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode); |
| 117 | unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode, | 117 | unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode, |