commit | 03066f26d825bd588540b3bb23e6b7d6a7c849fb | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Mon Aug 24 09:58:58 2015 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 05 20:15:31 2016 -0500 |
tree | f4a0380f1249c0df33c3e3ece72a409d7d67fa1e | |
parent | d968cacc64663f9d86b8fad8452d18338e6e8dde [diff] |
gpio: change inline functions to static inline When compiling with optimization level 0 (-O0), the linker complains about missing references to uart functions. This is due to compiler treating this functions as extern, since -O0 disables function inlining, as described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653 So change the declaration to static inline. Change-Id: Ifd835bf0e667afb1cbf2e76bb490664af87c382d Signed-off-by: Daniel Leung <daniel.leung@intel.com>