staging: zram: Add auto loading of module if user opens /dev/zram.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 12 Jul 2013 18:20:52 +0000 (14:20 -0400)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:14 +0000 (11:47 +0900)
commit8a0d358a6741c0592c75a6e3085462f6afb1d927
treeac1d85e0de8b75aa1af8d6951308c4b4be0e8537
parent4e4390348ed80ca2042e127c7c33fcfcc9f3795b
staging: zram: Add auto loading of module if user opens /dev/zram.

Greg spotted that said driver is not subscribing to the automagic
mechanism of auto-loading if a user tries to open /dev/zram.

This fixes it.

Change-Id: I934d034752f1c677076f439b95da178b45384243
CC: Minchan Kim <minchan@kernel.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/zram_drv.c