summaryrefslogtreecommitdiff
path: root/drivers/md/dm-cache-policy.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-11-08 16:20:23 +0400
committerThierry Reding <treding@nvidia.com>2013-12-03 13:06:29 +0400
commitd24b2898ceea603864c6d12540d6768edcc9cd40 (patch)
tree3d5997d8c1fbae1c2a8e9ddb0fbf1ae6334d4d79 /drivers/md/dm-cache-policy.c
parent9ab34151a9aab94685a8ce4b030800151f2bca66 (diff)
downloadlinux-d24b2898ceea603864c6d12540d6768edcc9cd40.tar.xz
gpu: host1x: Fix a few sparse warnings
Include the bus.h header, so that various function declarations are visible in the source file that implements those functions. This keeps sparse from suggesting that they should be made static. Make the host1x_bus_type variable static since it isn't used globally. Finally replace the slightly unsafe dev_set_name(dev, name) by the more secure dev_set_name(dev, "%s", name). Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/md/dm-cache-policy.c')
0 files changed, 0 insertions, 0 deletions