projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
785f154
)
dtoc: Move the struct import into the correct order
author
Simon Glass
<sjg@chromium.org>
Tue, 26 Jul 2016 00:59:01 +0000
(18:59 -0600)
committer
Simon Glass
<sjg@chromium.org>
Mon, 19 Sep 2016 03:04:38 +0000
(21:04 -0600)
This should be in with the other system includes. Move it.
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtoc.py
patch
|
blob
|
history
diff --git
a/tools/dtoc/dtoc.py
b/tools/dtoc/dtoc.py
index ec80abe717d9fadbc5bff665203b8ef7fa248675..e9ab46f706f6037b593e0f2ff0083132c1a1e9e7 100755
(executable)
--- a/
tools/dtoc/dtoc.py
+++ b/
tools/dtoc/dtoc.py
@@
-9,6
+9,7
@@
import copy
from optparse import OptionError, OptionParser
import os
+import struct
import sys
import fdt_util
@@
-29,8
+30,6
@@
except ImportError:
from fdt_fallback import Fdt
import fdt_fallback as fdt
-import struct
-
# When we see these properties we ignore them - i.e. do not create a structure member
PROP_IGNORE_LIST = [
'#address-cells',