]> git.baikalelectronics.ru Git - kernel.git/commit
vgaarb.h: fix build warnings
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 30 Jan 2012 19:43:52 +0000 (11:43 -0800)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Apr 2012 08:36:00 +0000 (09:36 +0100)
commita9d8278e5e5a0645f38ffc14fecef9c8d3be1bbb
tree9d41616713da1f2baf6c31e45fe17b4e993106ef
parentde199d6328a3ffaacbfcc12777f8a0940b01b393
vgaarb.h: fix build warnings

Fix build warnings by providing a struct stub since no fields of
the struct are used:

include/linux/vgaarb.h:66:9: warning: 'struct pci_dev' declared inside parameter list
include/linux/vgaarb.h:66:9: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/vgaarb.h:99:34: warning: 'struct pci_dev' declared inside parameter list
include/linux/vgaarb.h:109:6: warning: 'struct pci_dev' declared inside parameter list
include/linux/vgaarb.h:121:8: warning: 'struct pci_dev' declared inside parameter list
include/linux/vgaarb.h:140:37: warning: 'struct pci_dev' declared inside parameter list

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/linux/vgaarb.h