mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
465ae641e4
Change ACPI to use dev_archdata instead of firmware_data This patch changes ACPI to use the new dev_archdata on i386, x86_64 and ia64 (is there any other arch using ACPI ?) to store it's acpi_handle. It also removes the firmware_data field from struct device as this was the only user. Only build-tested on x86 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16 lines
255 B
C
16 lines
255 B
C
/*
|
|
* Arch specific extensions to struct device
|
|
*
|
|
* This file is released under the GPLv2
|
|
*/
|
|
#ifndef _ASM_IA64_DEVICE_H
|
|
#define _ASM_IA64_DEVICE_H
|
|
|
|
struct dev_archdata {
|
|
#ifdef CONFIG_ACPI
|
|
void *acpi_handle;
|
|
#endif
|
|
};
|
|
|
|
#endif /* _ASM_IA64_DEVICE_H */
|