summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2014-11-26 03:48:18 +0000
committerJason Cooper <jason@lakedaemon.net>2014-11-26 03:48:18 +0000
commitb3d6cfd09184dcea17f7d8e29c71fafe58bb5f00 (patch)
tree8be4c2cc6caf1e7a5d31401f3f2e960110df6ebd /include/linux/string.h
parent389c74aaace1ae2a423184b03d8198311fef2c7d (diff)
parent2fbbc96d16009276153fd33823616877dcca30d8 (diff)
Merge tag 'tags/phy-dt-header' into mvebu/dt-usb_phy
shared header file which will be referenced from both PHY driver and its associated Device Tree node(s)
Diffstat (limited to 'include/linux/string.h')
-rw-r--r--include/linux/string.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index e6edfe51575a..2e22a2e58f3a 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -132,7 +132,7 @@ int bprintf(u32 *bin_buf, size_t size, const char *fmt, ...) __printf(3, 4);
#endif
extern ssize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos,
- const void *from, size_t available);
+ const void *from, size_t available);
/**
* strstarts - does @str start with @prefix?
@@ -144,7 +144,8 @@ static inline bool strstarts(const char *str, const char *prefix)
return strncmp(str, prefix, strlen(prefix)) == 0;
}
-extern size_t memweight(const void *ptr, size_t bytes);
+size_t memweight(const void *ptr, size_t bytes);
+void memzero_explicit(void *s, size_t count);
/**
* kbasename - return the last part of a pathname.