diff options
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/driver.h b/include/driver.h index 3479e18194..26ec413bd6 100644 --- a/include/driver.h +++ b/include/driver.h @@ -489,8 +489,8 @@ int cdev_erase(struct cdev *cdev, loff_t count, loff_t offset); #define DEVFS_PARTITION_FIXED (1U << 0) #define DEVFS_PARTITION_READONLY (1U << 1) -#define DEVFS_IS_CHARACTER_DEV (1 << 3) -#define DEVFS_PARTITION_FROM_TABLE (1 << 4) +#define DEVFS_IS_CHARACTER_DEV (1U << 3) +#define DEVFS_PARTITION_FROM_TABLE (1U << 4) struct cdev *devfs_add_partition(const char *devname, loff_t offset, loff_t size, unsigned int flags, const char *name); |