mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
3b1c1c1118
The i915 DRM triggers registration of the ACPI video driver on load. It should unregister it at unload in order to avoid generating backtraces on being reloaded. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
14 lines
320 B
C
14 lines
320 B
C
#ifndef __ACPI_VIDEO_H
|
|
#define __ACPI_VIDEO_H
|
|
|
|
#if (defined CONFIG_ACPI_VIDEO || defined CONFIG_ACPI_VIDEO_MODULE)
|
|
extern int acpi_video_register(void);
|
|
extern int acpi_video_exit(void);
|
|
#else
|
|
static inline int acpi_video_register(void) { return 0; }
|
|
static inline void acpi_video_exit(void) { return; }
|
|
#endif
|
|
|
|
#endif
|
|
|