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)
commitf40609d1591fbbd9d391f1f8220173237911ab23
treefe803e8641ec8ce1484655eb432fcc81dbe0b68a
parentb46c73378c8436c3cd3fa19cead57a645adb0ed0
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