IB/hfi1: class_name_user() should be static
authorGeliang Tang <geliangtang@163.com>
Mon, 21 Sep 2015 14:18:14 +0000 (22:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:42:27 +0000 (03:42 +0200)
commit96a660d70699fc5decb381b15fd0a62a27001fe4
tree6da8e4cf0da7c90625de69be26d1200fb4723f3e
parent60f57ec2da398a7c1f56dc2ac690ef75b17d2399
IB/hfi1: class_name_user() should be static

Fixes the following sparse warning:
  drivers/staging/rdma/hfi1/device.c:127:12:
  warning: symbol 'class_name_user' was not declared. Should it be static?

Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/device.c