Skip to content

Commit

Permalink
fbdev: offb: fix up missing cleanup.h
Browse files Browse the repository at this point in the history
In commit 96ee5c5 ("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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: 96ee5c5 ("fbdev: offb: replace of_node_put with __free(device_node)")
Cc: Julia Lawall <[email protected]>
Cc: Abdulrasaq Lawani <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gregkh committed Sep 4, 2024
1 parent d03099a commit d3acaf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/fbdev/offb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3acaf2

Please sign in to comment.