summaryrefslogtreecommitdiff
path: root/include/stdio_dev.h
diff options
context:
space:
mode:
authorScott Wood <[email protected]>2012-12-20 11:51:05 +0000
committerTom Rini <[email protected]>2012-12-22 05:57:16 -0700
commitf8cfcf1b1c7543d5dd103359376a3319301143bc (patch)
tree5dc3827b3fa5c877055d04bdccbe58a53a9ef27b /include/stdio_dev.h
parentda77a0e593c370c9ed79ea22c1df321d5f4e4bbf (diff)
env: don't generate callback list entries for SPL
SPL doesn't write to the environment. These list entries prevent the functions from being garbage-collected, even though nothing will look at the list. This caused several SPL builds (e.g. P2020RDB-PC_NAND) to break due to size limitations and/or unresolved symbols. A static inline function is used to provide a context in which we can consume the callback, and thus avoid unused function warnings. Signed-off-by: Scott Wood <[email protected]> Acked-by: Joe Hershberger <[email protected]> Acked-by: Kim Phillips <[email protected]>
Diffstat (limited to 'include/stdio_dev.h')
0 files changed, 0 insertions, 0 deletions