Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: core: Add UPIO_UNKNOWN constant for unknown port type
[ Upstream commit 79d713b ] In some APIs we would like to assign the special value to iotype and compare against it in another places. Introduce UPIO_UNKNOWN for this purpose. Note, we can't use 0, because it's a valid value for IO port access. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Stable-dep-of: 87d80bf ("serial: 8250_dw: Don't use struct dw8250_data outside of 8250_dw") Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information