From: Artem Bityutskiy Date: Wed, 18 May 2011 13:38:06 +0000 (+0300) Subject: UBI: make it possible to use struct ubi_device in debug.h X-Git-Tag: v3.1-rc1~326^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18073733247dc0c31e07f3a87f3267fe8d7e7022;p=pandora-kernel.git UBI: make it possible to use struct ubi_device in debug.h Current layout does not allow us to add inline functions to debug.h which use the 'struct ubi_device' object, because it is undefined there. Move '#include "debug.h"' in "ubi.h" down so to make 'struct ubi_device" be defined. Additionally, this makes it possible to remove a bunch of forward declarations in "debug.h". This is a preparation to the next patch. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed