summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-01-06 15:58:44 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2011-01-06 16:01:50 +1100
commit4889eeae7f153fdbfb631e3c3cbb9de83aff8b92 (patch)
tree28438d3daab5d6a68fe1237cb128732ce59b71b4
parent3afbf7a76bd55353f2dc8803607373afc438371a (diff)
vga_switcheroo: fix prototype for non CONFIG_VGA_SWITCHEROO build
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-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; }