device.h 416 Bytes
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
4
/*
 * Arch specific extensions to struct device
 */
5
6
#ifndef ASMARM_DEVICE_H
#define ASMARM_DEVICE_H
7

8
9
10
struct dev_archdata {
#ifdef CONFIG_DMABOUNCE
	struct dmabounce_device_info *dmabounce;
11
#endif
12
13
	unsigned int dma_coherent:1;
	unsigned int dma_ops_setup:1;
14
15
};

16
17
struct omap_device;

18
struct pdev_archdata {
19
20
21
#ifdef CONFIG_ARCH_OMAP
	struct omap_device *od;
#endif
22
23
};

24
#endif