Files
OpenCellular/chip
Martin Roth bf5db9fac8 npcx/i2c: Remove static from arrays & functions used by inline function
This fixes several errors caused by these being defined as static
while being used in the inline function i2c_handle_sda_irq().

From the C99 Draft 6.7.4.3:
An inline definition of a function with external linkage shall not
contain a definition of a modifiable object with static storage
duration, and shall not contain a reference to an identifier with
internal linkage.

TEST=Build with GCC 5.3 flash and boot Reef board
BUG=None
BRANCH=None

Change-Id: Ie487f17b92736c2a56280783267da5d3bb12b969
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/367486
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2016-08-10 20:07:28 -07:00
..
2016-05-26 16:17:26 -07:00