Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1596495 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-03-10 01:10 +0100
Last post2017-03-10 01:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the drm-misc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-03-10 01:10 +0100

#1596495 — linux-next: build warning after merge of the drm-misc tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-03-10 01:10 +0100
Subjectlinux-next: build warning after merge of the drm-misc tree
Message-ID<tjgi5-45M-1@gated-at.bofh.it>
Hi all,

After merging the drm-misc tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

In file included from drivers/gpu/drm/drm_pci.c:29:0:
include/drm/drm_pci.h:76:64: warning: 'struct platform_device' declared inside parameter list
 extern int drm_platform_init(struct drm_driver *driver, struct platform_device *platform_device);
                                                                ^
include/drm/drm_pci.h:76:64: warning: its scope is only this definition or declaration, which is probably not what you want

Introduced by commit

  23ef59ef6dcc ("drm: Extract drm_pci.h")

A forgotten include file (or maybe just a forward declaration of the struct).

-- 
Cheers,
Stephen Rothwell

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web