[drm:drm-opt-pwr 79/84] include/linux/vga_switcheroo.h:83:120: error: expected ';' before '}' token

From: Fengguang Wu <hidden>
Date: 2012-09-12 06:35:14

Hi Dave,

FYI, kernel build failed on

tree:   git://people.freedesktop.org/~airlied/linux.git drm-opt-pwr
head:   75c2c97fd7c783f4f06423a41671f61840e65fa5
commit: 8952007a8799a5b096d64a8217e3001e2ebed2ab [79/84] gpu/vga_switcheroo: add driver control power feature. (v2)
config: x86_64-nfsroot (attached as .config)

All related error/warning messages:

In file included from sound/pci/hda/hda_intel.c:57:0:
include/linux/vga_switcheroo.h: In function 'vga_switcheroo_init_domain_pm_ops':
include/linux/vga_switcheroo.h:83:120: error: expected ';' before '}' token

vim +83 include/linux/vga_switcheroo.h
    78	static inline int vga_switcheroo_process_delayed_switch(void) { return 0; }
    79	static inline int vga_switcheroo_get_client_state(struct pci_dev *dev) { return VGA_SWITCHEROO_ON; }
    80	
    81	static inline void vga_switcheroo_set_dynamic_switch(struct pci_dev *pdev, enum vga_switcheroo_state dynamic) {}
    82	
  > 83	static inline int vga_switcheroo_init_domain_pm_ops(struct device *dev, struct dev_pm_domain *domain) { return -EINVAL };
    84	#endif
    85	#endif /* _LINUX_VGA_SWITCHEROO_H_ */

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help