Sindbad~EG File Manager

Current Path : /lib/modules/5.3.0-1034-azure/build/include/linux/
Upload File :
Current File : //lib/modules/5.3.0-1034-azure/build/include/linux/reboot-mode.h

/* 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

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists