There are two drivers that are relying on the iDMA 64-bit driver name to match. Instead of duplicating string in both of them, dedicate a header file and share it between users.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -0,0 +1,14 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 2 | /* | ||
| 3 | * Definitions for the Intel integrated DMA 64-bit | ||
| 4 | * | ||
| 5 | * Copyright (C) 2019 Intel Corporation | ||
| 6 | */ | ||
| 7 | |||
| 8 | #ifndef __LINUX_DMA_IDMA64_H__ | ||
| 9 | #define __LINUX_DMA_IDMA64_H__ | ||
| 10 | |||
| 11 | /* Platform driver name */ | ||
| 12 | #define LPSS_IDMA64_DRIVER_NAME "idma64" | ||
| 13 | |||
| 14 | #endif /* __LINUX_DMA_IDMA64_H__ */ | ||