]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:38:25 +0000 (13:38 -0700)
commite74ccf8e78693b860bf859c303b087e596183a6f
treef9ce628d0b3a982910bb824d535274c0cc891ba8
parent0d7e2dc0ec88870ef077c470b095a407156f62fe
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.

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