diff options
author | Thierry Reding <treding@nvidia.com> | 2013-11-08 16:20:23 +0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-12-03 13:06:29 +0400 |
commit | d24b2898ceea603864c6d12540d6768edcc9cd40 (patch) | |
tree | 3d5997d8c1fbae1c2a8e9ddb0fbf1ae6334d4d79 /drivers/power | |
parent | 9ab34151a9aab94685a8ce4b030800151f2bca66 (diff) | |
download | linux-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/power')
0 files changed, 0 insertions, 0 deletions