Subject: linux-next: build warning after merge of the drm tree

From: Stephen Rothwell <[email-masked]>
Date: Thu, 12 May 2011 12:14:16 +1000

Hi Dave,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

arch/x86/kernel/apic/x2apic_uv_x.c: In function 'uv_system_init':
arch/x86/kernel/apic/x2apic_uv_x.c:815: warning: passing argument 1 of 'pci_register_set_vga_state' from incompatible pointer type
include/linux/pci.h:1085: note: expected 'arch_set_vga_state_t' but argument is of type 'int (*)(struct pci_dev *, bool,  unsigned int,  bool)'

Introduced by commit 3448a19da479 ("vgaarb: use bridges to control VGA
routing where possible).

-- 
Cheers,
Stephen Rothwell                    [email-masked]
http://www.canb.auug.org.au/~sfr/