1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ROOT_DEV_H_
3#define _ROOT_DEV_H_
4
5#include <linux/major.h>
6#include <linux/types.h>
7#include <linux/kdev_t.h>
8
9enum {
10 Root_NFS = MKDEV(UNNAMED_MAJOR, 255),
11 Root_CIFS = MKDEV(UNNAMED_MAJOR, 254),
12 Root_Generic = MKDEV(UNNAMED_MAJOR, 253),
13 Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
14};
15
16extern dev_t ROOT_DEV;
17
18#endif
19

source code of linux/include/linux/root_dev.h