summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-02-20 19:55:48 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-02-20 19:55:48 +0000
commit81b7a04178f93b25aebf4ade14de30de1b2fd87b (patch)
tree1da73a404e094e159692a34506548e98671fd515 /sys/dev/pci/drm
parentbdbbe65295b8d6ff0ae139242871f0ce097b1684 (diff)
Implement request_firmware_direct().
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/include/linux/firmware.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/linux/firmware.h b/sys/dev/pci/drm/include/linux/firmware.h
index 4f06d4de2a4..4e24fc963ca 100644
--- a/sys/dev/pci/drm/include/linux/firmware.h
+++ b/sys/dev/pci/drm/include/linux/firmware.h
@@ -35,6 +35,13 @@ request_firmware(const struct firmware **fw, const char *name,
}
}
+static inline int
+request_firmware_direct(const struct firmware **fw, const char *name,
+ struct device *device)
+{
+ return request_firmware(fw, name, device);
+}
+
#define request_firmware_nowait(a, b, c, d, e, f, g) -EINVAL
static inline void