LinuxKPI: Add prepare to pm_ops and bump FreeBSD version.

This patch is part of D19565

Reviewed by:	hps
Approved by:	imp (mentor), hps
MFC after:	1 week
This commit is contained in:
Johannes Lundberg 2019-05-14 23:50:46 +00:00
parent 1462308d8b
commit 65ff7a3192
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347601
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ struct class {
};
struct dev_pm_ops {
int (*prepare)(struct device *dev);
int (*suspend)(struct device *dev);
int (*suspend_late)(struct device *dev);
int (*resume)(struct device *dev);

View File

@ -60,7 +60,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
#define __FreeBSD_version 1300026 /* Master, propagated to newvers */
#define __FreeBSD_version 1300027 /* Master, propagated to newvers */
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,