summaryrefslogtreecommitdiff
path: root/samples/kobject
diff options
context:
space:
mode:
authorJorgyano Vieira <jorgyano@gmail.com>2012-02-25 23:55:10 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-29 23:54:39 (GMT)
commit4768f3f09a69d3a7a8ac27e9daafddc1ac920ab4 (patch)
treecd58f225a68e97afa8da436b70a48b9b52e30f91 /samples/kobject
parent3be11133bf733d67c3031a08772f4ab0c1a0fc01 (diff)
downloadlinux-fsl-qoriq-4768f3f09a69d3a7a8ac27e9daafddc1ac920ab4.tar.xz
Staging: crystalhd: Add global header
In the crystalhd_cmds.h there was a struct dependence bug: the struct crystalhd_adp (which is declared on crystalhd_lnx.h) is used on the crystalhd_cmd struct, however the crystalhd_lnx.h is never included on crystalhd_cmds.h at all. Including the crystalhd_lnx.h on crystalhd_cmds.h breaks the build, many dependencies error occurrs, most of the type "error: 'struct bar' has no member named 'foo'", so I decided to reorganize the headers by adding a global header. The gobal header crystalhd.h includes all the local headers. The idea is that the crystalhd header will be the only included by the others files, this will avoid the mess of many #include levels. The order of the headers included by crystalhd.h considers the dependencies among the headers. Signed-off-by: Jorgyano Vieira <jorgyano@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions