From: Greg Kroah-Hartman Date: Thu, 12 Sep 2013 22:41:31 +0000 (-0700) Subject: Revert "staging: zram: Add auto loading of module if user opens /dev/zram." X-Git-Tag: submit/tizen_boot/20140324.052346~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40e0bc3abbe6488cea02aea20564ca3ee061e14d;p=platform%2Fkernel%2Flinux-3.10.git 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. Change-Id: Ia1503b3cff95e5dd31c934f420025ea252f09129 Reported-by: Tom Gundersen Reported-by: Kay Sievers Cc: Minchan Kim Cc: Konrad Rzeszutek Wilk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/zram/zram_drv.c b/drivers/staging/zram/zram_drv.c index 91d94b5..2c4ed52 100644 --- a/drivers/staging/zram/zram_drv.c +++ b/drivers/staging/zram/zram_drv.c @@ -981,4 +981,3 @@ MODULE_PARM_DESC(num_devices, "Number of zram devices"); MODULE_LICENSE("Dual BSD/GPL"); MODULE_AUTHOR("Nitin Gupta "); MODULE_DESCRIPTION("Compressed RAM Block Device"); -MODULE_ALIAS("devname:zram");