diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-06-08 14:49:17 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-06-08 14:51:08 +0400 |
commit | 505cff00de9c303b95c204eb4544066e3e707911 (patch) | |
tree | 307187d245ebf9ab01895dcb3c03e812baa09cc4 /include | |
parent | 12b78a7f671aa91fd41899615bf6d171c925c3d7 (diff) | |
download | linux-505cff00de9c303b95c204eb4544066e3e707911.tar.xz |
vga_switcheroo: Fix error without CONFIG_VGA_SWITCHEROO
Fix a typo that is built only when CONFIG_VGA_SWITCHEROO=n.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/vga_switcheroo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vga_switcheroo.h b/include/linux/vga_switcheroo.h index b176342ca031..60da41fe9dc2 100644 --- a/include/linux/vga_switcheroo.h +++ b/include/linux/vga_switcheroo.h @@ -67,7 +67,7 @@ static inline int vga_switcheroo_register_audio_client(struct pci_dev *pdev, int id, bool active) { return 0; } static inline void vga_switcheroo_unregister_handler(void) {} static inline int vga_switcheroo_process_delayed_switch(void) { return 0; } -static inline int vga_switcheroo_get_client_state(struct pci_dev *dev) { return VGA_SWITCHEROO_CLIENT_ON; } +static inline int vga_switcheroo_get_client_state(struct pci_dev *dev) { return VGA_SWITCHEROO_ON; } #endif |