mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Remove all unused defines, and just use the expanded versions for the SCSI disk majors. I've decided to keep Root_RAM0 even if it could be expanded as there is a lot of special casing for it in the init code. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20230531125535.676098-6-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
17 lines
318 B
C
17 lines
318 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ROOT_DEV_H_
|
|
#define _ROOT_DEV_H_
|
|
|
|
#include <linux/major.h>
|
|
#include <linux/types.h>
|
|
#include <linux/kdev_t.h>
|
|
|
|
enum {
|
|
Root_NFS = MKDEV(UNNAMED_MAJOR, 255),
|
|
Root_CIFS = MKDEV(UNNAMED_MAJOR, 254),
|
|
Root_RAM0 = MKDEV(RAMDISK_MAJOR, 0),
|
|
};
|
|
|
|
extern dev_t ROOT_DEV;
|
|
|
|
#endif
|