]> 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)
commitd978b7709ab1e2c061eb3437a7299cdcd2dbb250
treefe803e8641ec8ce1484655eb432fcc81dbe0b68a
parent2a9c30318e6d8d85621aa1b821ab60c75743c24a
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