Skip to content

Commit

Permalink
zram: remove zram_sysfs file (v2)
Browse files Browse the repository at this point in the history
Move zram sysfs code to zram drv and remove zram_sysfs.c
file. This gives ability to make static a number of previously
exported zram functions, used from zram sysfs, e.g. internal zram
zram_meta_alloc/free(). We also can drop zram_drv wrapper
functions, used from zram sysfs:
e.g. zram_reset_device()/__zram_reset_device() pair.

v2: as suggested by Greg K-H, move MODULE description to the
bottom of the file.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sergey Senozhatsky authored and Greg Kroah-Hartman committed Jun 24, 2013
1 parent 95cd186 commit 9b3bb7a
Show file tree
Hide file tree
Showing 4 changed files with 350 additions and 387 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/zram/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
zram-y := zram_drv.o zram_sysfs.o
zram-y := zram_drv.o

obj-$(CONFIG_ZRAM) += zram.o
Loading

0 comments on commit 9b3bb7a

Please sign in to comment.