]> git.baikalelectronics.ru Git - kernel.git/commit
zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 07:12:46 +0000 (09:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 07:12:46 +0000 (09:12 +0200)
commit795af312a0d165fba17960033bcc56ed9302b4d8
treefe803e8641ec8ce1484655eb432fcc81dbe0b68a
parent0e82b14564fe5e69ee6701fd856b0516552b76a1
zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()

I missed converting the last zram attribute to CLASS_ATTR_RO() after
removing CLASS_ATTR() from the kernel, causing a build breakage.  This
patch fixes that problem.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/zram/zram_drv.c