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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:55 +0000 (07:27 +0200)
commitb8cb7c59bd39e6171704503bc8ef3bab145700da
tree37f86ecb925d39b31cac4fe79e4fd426feb03024
parent52a7f399983524536b6f59216e7eab868624c58f
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