]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
vga_switcheroo: Fix error without CONFIG_VGA_SWITCHEROO
authorTakashi Iwai <tiwai@suse.de>
Fri, 8 Jun 2012 10:49:17 +0000 (12:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Jun 2012 10:51:08 +0000 (12:51 +0200)
Fix a typo that is built only when CONFIG_VGA_SWITCHEROO=n.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/linux/vga_switcheroo.h

index b176342ca031fdb4190253bbce791334fe0d7d42..60da41fe9dc2b4a7d0496c01ead943b0b75c9c3e 100644 (file)
@@ -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