Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 2ddcca36c8bcfa251724fe342c8327451988be0d authored by Linus Torvalds on 03 May 2008, 18:59:44 UTC
Linux 2.6.26-rc1
Tip revision: 2ddcca3
device.h
/*
 * Arch specific extensions to struct device
 *
 * This file is released under the GPLv2
 */
#ifndef _ASM_POWERPC_DEVICE_H
#define _ASM_POWERPC_DEVICE_H

struct dma_mapping_ops;
struct device_node;

struct dev_archdata {
	/* Optional pointer to an OF device node */
	struct device_node	*of_node;

	/* DMA operations on that device */
	struct dma_mapping_ops	*dma_ops;
	void			*dma_data;

	/* NUMA node if applicable */
	int			numa_node;
};

#endif /* _ASM_POWERPC_DEVICE_H */
back to top