commit | a5b2682ce86be24e0a028c9bdb21d5926e6f2da5 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Thu Sep 22 11:14:59 2016 -0700 |
committer | Andrew Boie <andrew.p.boie@intel.com> | Fri Sep 23 15:36:29 2016 +0000 |
tree | 4d8f0b7863265b85525fe125f592f59db5d4b834 | |
parent | 9ec847e608aa6d162deba67cd958325844b11a83 [diff] |
init.h: use a counter when naming system devices Avoids a build error if two or more system devices are declared in the same C file that use the same init function. Use _CONCAT() for token concatenation to ensure the names are properly generated, needed if any of the components are themselves macros that need to be expanded. Change-Id: I559bd987617d8cf3bd8c9ee0c985d670b4f59a64 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>