]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: zram: make global var "num_devices" use unique name
authorNoah Watkins <noahwatkins@gmail.com>
Wed, 20 Jul 2011 23:06:08 +0000 (17:06 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 21:34:19 +0000 (14:34 -0700)
commitefd54f4375982a3f8bef3cce610955f4cc37d5cb
treebcf491a3ef18a1428272979308801408c98eb59f
parent43801f6e4ee269cd76f601c2b1d79897ea4a892f
staging: zram: make global var "num_devices" use unique name

The global variable "num_devices" is too general to be
global. This patch switches the name to be "zram_num_devices".

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zram/zram_drv.c
drivers/staging/zram/zram_drv.h
drivers/staging/zram/zram_sysfs.c