summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-01 17:58:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-04 13:25:05 +0200
commitd3acaf2e0e0fcaff86c3bc02ceb9115f578e0426 (patch)
tree94917517d63fb5e1620aaf0a4de2c7e3e859ce1b
parentd03099a2cc6b69baf65a8f8f0d03158dabc32ab1 (diff)
fbdev: offb: fix up missing cleanup.h
In commit 96ee5c5712ef ("fbdev: offb: replace of_node_put with __free(device_node)"), __free() was added, but not cleanup.h so it broke the build. Fix this up. Reported-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/4f4ac35e-e31c-4f67-b809-a5de4d4b273a@roeck-us.net Fixes: 96ee5c5712ef ("fbdev: offb: replace of_node_put with __free(device_node)") Cc: Julia Lawall <julia.lawall@inria.fr> Cc: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com> Cc: Helge Deller <deller@gmx.de> Cc: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/video/fbdev/offb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c
index 6f0a9851b092..ea232395e226 100644
--- a/drivers/video/fbdev/offb.c
+++ b/drivers/video/fbdev/offb.c
@@ -27,6 +27,7 @@
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
+#include <linux/cleanup.h>
#include <asm/io.h>
#ifdef CONFIG_PPC32