diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-12 15:41:31 -0700 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-06-05 21:21:40 +0200 |
commit | 1fe83c9463ef010813f8b3b1892f237afeb1fd03 (patch) | |
tree | 52985b4099d1550b9a82414890fdbb97c076e421 | |
parent | f1fd5df8ae19b68b630e907716628722016c1702 (diff) | |
download | kernel_samsung_espresso10-1fe83c9463ef010813f8b3b1892f237afeb1fd03.zip kernel_samsung_espresso10-1fe83c9463ef010813f8b3b1892f237afeb1fd03.tar.gz kernel_samsung_espresso10-1fe83c9463ef010813f8b3b1892f237afeb1fd03.tar.bz2 |
Revert "staging: zram: Add auto loading of module if user opens /dev/zram."
This reverts commit c70bda992c12e593e411c02a52e4bd6985407539.
It's incorrect, Kay writes:
Please just remove it. "devname" is meant to be used for
single-instance devices with a static dev_t, never for things
like zramX.
It will not do anything useful here, it does nothing really
without a statically assigned dev_t, and it should not be used
for devices of this kind anyway.
Reported-by: Tom Gundersen <teg@jklm.no>
Reported-by: Kay Sievers <kay@vrfy.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/zram/zram_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/zram/zram_drv.c b/drivers/staging/zram/zram_drv.c index 6063c11..91fe3a1 100644 --- a/drivers/staging/zram/zram_drv.c +++ b/drivers/staging/zram/zram_drv.c @@ -994,4 +994,3 @@ MODULE_PARM_DESC(num_devices, "Number of zram devices"); MODULE_LICENSE("Dual BSD/GPL"); MODULE_AUTHOR("Nitin Gupta <ngupta@vflare.org>"); MODULE_DESCRIPTION("Compressed RAM Block Device"); -MODULE_ALIAS("devname:zram"); |