resource: Export insert_resource and remove_resource
authorToshi Kani <toshi.kani@hpe.com>
Wed, 9 Mar 2016 19:47:05 +0000 (12:47 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Mar 2016 19:07:20 +0000 (11:07 -0800)
commit8095d0f225fe31eaac4a013177b77ed5283278f8
treefc775a417df92724ec47a27d000829bb76610ffd
parentff3cc952d3f009e6c376cc40651b87187ce364a6
resource: Export insert_resource and remove_resource

insert_resource() and remove_resouce() are called by producers
of resources, such as FW modules and bus drivers.  These modules
may be implemented as loadable modules.

Export insert_resource() and remove_resouce() so that they can
be called from such modules.

link: https://lkml.org/lkml/2016/3/8/872
Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
kernel/resource.c