Module Name: src Committed By: riastradh Date: Sun Dec 19 09:46:05 UTC 2021
Modified Files: src/sys/external/bsd/drm2/include/linux: device.h Log Message: stub devm_add_action Author: Maya Rashish <m...@netbsd.org> To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm2/include/linux/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/include/linux/device.h diff -u src/sys/external/bsd/drm2/include/linux/device.h:1.8 src/sys/external/bsd/drm2/include/linux/device.h:1.9 --- src/sys/external/bsd/drm2/include/linux/device.h:1.8 Sun Dec 19 09:45:56 2021 +++ src/sys/external/bsd/drm2/include/linux/device.h Sun Dec 19 09:46:05 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: device.h,v 1.8 2021/12/19 09:45:56 riastradh Exp $ */ +/* $NetBSD: device.h,v 1.9 2021/12/19 09:46:05 riastradh Exp $ */ /*- * Copyright (c) 2013 The NetBSD Foundation, Inc. @@ -87,4 +87,11 @@ dev_pm_set_driver_flags(struct device *d { } +static inline int +devm_add_action(struct device *parent, void (*func)(void *), + void *data) +{ + panic("TODO"); +} + #endif /* _LINUX_DEVICE_H_ */