1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/root/target/linux/bcm27xx/patches-5.15/950-0196-video-fbdev-bcm2708_fb-Use-common-compat-header.patch

24 lines
750 B
Diff
Raw Normal View History

2022-04-22 15:00:47 +00:00
From 4f60e15b2476c8e84d6b08674cddbf2fe3e253a2 Mon Sep 17 00:00:00 2001
2021-11-24 17:32:01 +00:00
From: Phil Elwell <phil@raspberrypi.com>
Date: Mon, 2 Mar 2020 14:42:23 +0000
2022-04-22 15:00:47 +00:00
Subject: [PATCH 196/828] video: fbdev: bcm2708_fb: Use common compat header
2021-11-24 17:32:01 +00:00
The definition of compat_ptr is now common for most platforms, but
requires the inclusion of <linux/compat.h>.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
drivers/video/fbdev/bcm2708_fb.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/video/fbdev/bcm2708_fb.c
+++ b/drivers/video/fbdev/bcm2708_fb.c
@@ -38,6 +38,7 @@
#include <linux/cred.h>
#include <soc/bcm2835/raspberrypi-firmware.h>
#include <linux/mutex.h>
+#include <linux/compat.h>
//#define BCM2708_FB_DEBUG
#define MODULE_NAME "bcm2708_fb"