[PATCH 24/40] UAPI: Fix SNDRV_*_ENDIAN ordering problem [ver #3]

From: David Howells
Date: Thu Jul 28 2011 - 11:53:54 EST


There's an ordering problem around the definition of SNDRV_*_ENDIAN: the
definition in the kernel-specific header is referred to in the user-specific
header data structures.

To get around this problem, place a marker specifically to indicate the point
at which the UAPI header should be included in the kernel-specific file. The
marker will be deleted later.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

include/sound/asound.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/sound/asound.h b/include/sound/asound.h
index 5d6074f..e4918f6 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -40,6 +40,7 @@
#endif
#endif

+// DISINTEGRATE: INCLUDE UAPI HERE
#endif /* __KERNEL__ **/

/*

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/