|
@@ -1793,6 +1793,16 @@ int unlink_framebuffer(struct fb_info *fb_info)
|
|
|
}
|
|
|
EXPORT_SYMBOL(unlink_framebuffer);
|
|
|
|
|
|
+/**
|
|
|
+ * remove_conflicting_framebuffers - remove firmware-configured framebuffers
|
|
|
+ * @a: memory range, users of which are to be removed
|
|
|
+ * @name: requesting driver name
|
|
|
+ * @primary: also kick vga16fb if present
|
|
|
+ *
|
|
|
+ * This function removes framebuffer devices (initialized by firmware/bootloader)
|
|
|
+ * which use memory range described by @a. If @a is NULL all such devices are
|
|
|
+ * removed.
|
|
|
+ */
|
|
|
int remove_conflicting_framebuffers(struct apertures_struct *a,
|
|
|
const char *name, bool primary)
|
|
|
{
|