capdev: make hashstr(...) helper static
authorFergus Simpson <afergs@google.com>
Fri, 27 Jan 2017 23:45:41 +0000 (15:45 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Jan 2017 17:01:23 +0000 (12:01 -0500)
commit23beee5bd2bd49cacf91996df81037e44864e9e3
tree4c226e97133bfee4b51aa67bdf5f51e7c851ba8d
parenta765c08e7da661c6e52fe30e31ae21b2b9abb375
capdev: make hashstr(...) helper static

This helper function should not be called from elsewhere do to
assumptions made about its inputs. It is already undeclared in the
capability device header, but making it static further makes it clear
that it is only for use by the capability device itself.

Change-Id: Id7034c3b0ab325a3ed39c9fa8511f77592cf3828
Signed-off-by: Fergus Simpson <afergs@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/capability.c