summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-01-06 13:04:32 +1000
committerDave Airlie <airlied@redhat.com>2011-01-06 13:05:04 +1000
commitaf5dd83b873efd4e1477f2265b6fa15a825aff26 (patch)
treeaee83c2b0580cf07b124eed771b5f906ca5f10e8
parent9eba4a93ce520a627e876b0d1851d4f78a701c2b (diff)
downloadblackbird-op-linux-af5dd83b873efd4e1477f2265b6fa15a825aff26.tar.gz
blackbird-op-linux-af5dd83b873efd4e1477f2265b6fa15a825aff26.zip
vga_switcheroo: fix build with non switcheroo enabled path.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--include/linux/vga_switcheroo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vga_switcheroo.h b/include/linux/vga_switcheroo.h
index f80fa9de5b82..4b9a7f596f92 100644
--- a/include/linux/vga_switcheroo.h
+++ b/include/linux/vga_switcheroo.h
@@ -49,6 +49,7 @@ int vga_switcheroo_process_delayed_switch(void);
static inline void vga_switcheroo_unregister_client(struct pci_dev *dev) {}
static inline int vga_switcheroo_register_client(struct pci_dev *dev,
void (*set_gpu_state)(struct pci_dev *dev, enum vga_switcheroo_state),
+ void (*reprobe)(struct pci_dev *dev),
bool (*can_switch)(struct pci_dev *dev)) { return 0; }
static inline void vga_switcheroo_client_fb_set(struct pci_dev *dev, struct fb_info *info) {}
static inline int vga_switcheroo_register_handler(struct vga_switcheroo_handler *handler) { return 0; }
OpenPOWER on IntegriCloud