summaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2010-08-12 04:14:05 +0100
committerAlasdair G Kergon <agk@redhat.com>2010-08-12 04:14:05 +0100
commit7e507eb6432afdd798d4c6dccf949b8c43ef151c (patch)
treea9c91e310bfd8e26c326f094eade79f5baf1ee25 /include/linux/miscdevice.h
parent57cba5d3658d9fdc019c6af14a2d80aefa651e56 (diff)
downloadlinux-stable-7e507eb6432afdd798d4c6dccf949b8c43ef151c.tar.gz
linux-stable-7e507eb6432afdd798d4c6dccf949b8c43ef151c.tar.bz2
linux-stable-7e507eb6432afdd798d4c6dccf949b8c43ef151c.zip
dm: allow autoloading of dm mod
Add devname:mapper/control and MAPPER_CTRL_MINOR module alias to support dm-mod module autoloading. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Peter Rajnoha <prajnoha@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r--include/linux/miscdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index f6c9b7dcb9fd..bafffc737903 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -38,6 +38,7 @@
#define KVM_MINOR 232
#define BTRFS_MINOR 234
#define AUTOFS_MINOR 235
+#define MAPPER_CTRL_MINOR 236
#define MISC_DYNAMIC_MINOR 255
struct device;