cregit-Linux how code gets into the kernel

Release 4.16 include/linux/reboot-mode.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __REBOOT_MODE_H__

#define __REBOOT_MODE_H__


struct reboot_mode_driver {
	
struct device *dev;
	
struct list_head head;
	
int (*write)(struct reboot_mode_driver *reboot, unsigned int magic);
	
struct notifier_block reboot_notifier;
};

int reboot_mode_register(struct reboot_mode_driver *reboot);
int reboot_mode_unregister(struct reboot_mode_driver *reboot);
int devm_reboot_mode_register(struct device *dev,
			      struct reboot_mode_driver *reboot);
void devm_reboot_mode_unregister(struct device *dev,
				 struct reboot_mode_driver *reboot);

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Andy Yan6067.42%133.33%
Björn Andersson2831.46%133.33%
Greg Kroah-Hartman11.12%133.33%
Total89100.00%3100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.