internal.h (0d4a42f6bd298e826620585e766a154ab460617a) | internal.h (f58b082aed43400c03e53beacc50a9f9eb23ac91) |
---|---|
1/* 2 * acpi/internal.h 3 * For use by Linux/ACPI infrastructure, not drivers 4 * 5 * Copyright (c) 2009, Intel Corporation. 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms and conditions of the GNU General Public License, --- 34 unchanged lines hidden (view full) --- 43#endif 44 45#ifdef CONFIG_DEBUG_FS 46extern struct dentry *acpi_debugfs_dir; 47int acpi_debugfs_init(void); 48#else 49static inline void acpi_debugfs_init(void) { return; } 50#endif | 1/* 2 * acpi/internal.h 3 * For use by Linux/ACPI infrastructure, not drivers 4 * 5 * Copyright (c) 2009, Intel Corporation. 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms and conditions of the GNU General Public License, --- 34 unchanged lines hidden (view full) --- 43#endif 44 45#ifdef CONFIG_DEBUG_FS 46extern struct dentry *acpi_debugfs_dir; 47int acpi_debugfs_init(void); 48#else 49static inline void acpi_debugfs_init(void) { return; } 50#endif |
51#ifdef CONFIG_X86_INTEL_LPSS 52void acpi_lpss_init(void); 53#else 54static inline void acpi_lpss_init(void) {} 55#endif |
|
51 52/* -------------------------------------------------------------------------- 53 Device Node Initialization / Removal 54 -------------------------------------------------------------------------- */ 55#define ACPI_STA_DEFAULT (ACPI_STA_DEVICE_PRESENT | ACPI_STA_DEVICE_ENABLED | \ 56 ACPI_STA_DEVICE_UI | ACPI_STA_DEVICE_FUNCTIONING) 57 58int acpi_device_add(struct acpi_device *device, --- 67 unchanged lines hidden (view full) --- 126static inline void suspend_nvs_restore(void) {} 127#endif 128 129/*-------------------------------------------------------------------------- 130 Platform bus support 131 -------------------------------------------------------------------------- */ 132struct platform_device; 133 | 56 57/* -------------------------------------------------------------------------- 58 Device Node Initialization / Removal 59 -------------------------------------------------------------------------- */ 60#define ACPI_STA_DEFAULT (ACPI_STA_DEVICE_PRESENT | ACPI_STA_DEVICE_ENABLED | \ 61 ACPI_STA_DEVICE_UI | ACPI_STA_DEVICE_FUNCTIONING) 62 63int acpi_device_add(struct acpi_device *device, --- 67 unchanged lines hidden (view full) --- 131static inline void suspend_nvs_restore(void) {} 132#endif 133 134/*-------------------------------------------------------------------------- 135 Platform bus support 136 -------------------------------------------------------------------------- */ 137struct platform_device; 138 |
139int acpi_create_platform_device(struct acpi_device *adev, 140 const struct acpi_device_id *id); 141 |
|
134#endif /* _ACPI_INTERNAL_H_ */ | 142#endif /* _ACPI_INTERNAL_H_ */ |