Commit af5dd83b873efd4e1477f2265b6fa15a825aff26

Authored by Dave Airlie
1 parent 9eba4a93ce

vga_switcheroo: fix build with non switcheroo enabled path.

Signed-off-by: Dave Airlie <airlied@redhat.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/linux/vga_switcheroo.h
... ... @@ -49,6 +49,7 @@
49 49 static inline void vga_switcheroo_unregister_client(struct pci_dev *dev) {}
50 50 static inline int vga_switcheroo_register_client(struct pci_dev *dev,
51 51 void (*set_gpu_state)(struct pci_dev *dev, enum vga_switcheroo_state),
  52 + void (*reprobe)(struct pci_dev *dev),
52 53 bool (*can_switch)(struct pci_dev *dev)) { return 0; }
53 54 static inline void vga_switcheroo_client_fb_set(struct pci_dev *dev, struct fb_info *info) {}
54 55 static inline int vga_switcheroo_register_handler(struct vga_switcheroo_handler *handler) { return 0; }