summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-25 18:59:01 -0600
committerSimon Glass <sjg@chromium.org>2016-09-18 21:04:38 -0600
commit58593115453199eb136f1c625bc29e44d057c07e (patch)
treeca77440317bbef36dcbba4706d6cb88b3ebddc7c
parent785f1548a9e74cf4796c96e6f32ed67b25f79b81 (diff)
dtoc: Move the struct import into the correct order
This should be in with the other system includes. Move it. Signed-off-by: Simon Glass <sjg@chromium.org>
-rwxr-xr-xtools/dtoc/dtoc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index ec80abe717..e9ab46f706 100755
--- 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',