History

dmaengine: idma64: Move driver name to the header

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.

Andy Shevchenko committed 7 years ago

Commit ffcfc201 parent c7266d23 files · +20 −7Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/dma/idma64.h+14−0
@@ -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__ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t