Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/omap: include linux/seq_file.h where needed

The omapdrm driver relies on this header to be included
implicitly, but this does not always work, and I get
this error in randconfig builds:

gpu/drm/omapdrm/dss/hdmi_phy.c: In function 'hdmi_phy_dump':
gpu/drm/omapdrm/dss/hdmi_phy.c:34:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]
gpu/drm/omapdrm/dss/hdmi_wp.c: In function 'hdmi_wp_dump':
gpu/drm/omapdrm/dss/hdmi_wp.c:26:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]
gpu/drm/omapdrm/dss/hdmi_pll.c: In function 'hdmi_pll_dump':
gpu/drm/omapdrm/dss/hdmi_pll.c:30:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]

This adds the #include statements in all files that have
a seq_printf statement.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Arnd Bergmann and committed by
Tomi Valkeinen
2d802453 62cb0751

+9
+1
drivers/gpu/drm/omapdrm/dss/hdmi_phy.c
··· 13 13 #include <linux/io.h> 14 14 #include <linux/platform_device.h> 15 15 #include <linux/slab.h> 16 + #include <linux/seq_file.h> 16 17 #include <video/omapdss.h> 17 18 18 19 #include "dss.h"
+1
drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
··· 16 16 #include <linux/io.h> 17 17 #include <linux/platform_device.h> 18 18 #include <linux/clk.h> 19 + #include <linux/seq_file.h> 19 20 20 21 #include <video/omapdss.h> 21 22
+1
drivers/gpu/drm/omapdrm/dss/hdmi_wp.c
··· 14 14 #include <linux/err.h> 15 15 #include <linux/io.h> 16 16 #include <linux/platform_device.h> 17 + #include <linux/seq_file.h> 17 18 #include <video/omapdss.h> 18 19 19 20 #include "dss.h"
+2
drivers/gpu/drm/omapdrm/omap_debugfs.c
··· 17 17 * this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 + #include <linux/seq_file.h> 21 + 20 22 #include <drm/drm_crtc.h> 21 23 #include <drm/drm_fb_helper.h> 22 24
+1
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
··· 27 27 #include <linux/module.h> 28 28 #include <linux/platform_device.h> /* platform_device() */ 29 29 #include <linux/sched.h> 30 + #include <linux/seq_file.h> 30 31 #include <linux/slab.h> 31 32 #include <linux/time.h> 32 33 #include <linux/vmalloc.h>
+2
drivers/gpu/drm/omapdrm/omap_fb.c
··· 17 17 * this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 + #include <linux/seq_file.h> 21 + 20 22 #include <drm/drm_crtc.h> 21 23 #include <drm/drm_crtc_helper.h> 22 24
+1
drivers/gpu/drm/omapdrm/omap_gem.c
··· 17 17 * this program. If not, see <http://www.gnu.org/licenses/>. 18 18 */ 19 19 20 + #include <linux/seq_file.h> 20 21 #include <linux/shmem_fs.h> 21 22 #include <linux/spinlock.h> 22 23 #include <linux/pfn_t.h>