Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Add firmware_request_now...



details:   https://anonhg.NetBSD.org/src/rev/d2965f303130
branches:  trunk
changeset: 1028376:d2965f303130
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 10:50:37 2021 +0000

description:
Add firmware_request_nowarn.

diffstat:

 sys/external/bsd/drm2/include/linux/firmware.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 1b43c69809c4 -r d2965f303130 sys/external/bsd/drm2/include/linux/firmware.h
--- a/sys/external/bsd/drm2/include/linux/firmware.h    Sun Dec 19 10:50:30 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/firmware.h    Sun Dec 19 10:50:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: firmware.h,v 1.9 2018/08/27 13:40:15 riastradh Exp $   */
+/*     $NetBSD: firmware.h,v 1.10 2021/12/19 10:50:37 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -105,6 +105,14 @@
        return ret;
 }
 
+static inline int
+firmware_request_nowarn(const struct firmware **fwp, const char *image_name,
+    struct device *dev)
+{
+
+       return request_firmware(fwp, image_name, dev);
+}
+
 static inline void
 request_firmware_work(struct work_struct *wk)
 {



Home | Main Index | Thread Index | Old Index