aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2013-10-11 17:05:10 -0400
committerGrant Likely <grant.likely@linaro.org>2013-10-24 06:43:13 -0400
commit624cfca534f9b1ffb1326617b4e973a3d5ecff4a (patch)
treeff8d3861219a84bea05967bbf80ac726355445d4 /tools
parent2361613206e66ce59cc0e08efa8d98ec15b84ed1 (diff)
of: Add helper for printing an of_phandle_args structure
It is sometimes useful for debug to get the contents of an of_phandle_args structure out into the kernel log. Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
LITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #ifndef SOUNDCARD_H #define SOUNDCARD_H # include <asm/byteorder.h> #include <uapi/linux/soundcard.h> # if defined(__BIG_ENDIAN) # define AFMT_S16_NE AFMT_S16_BE # elif defined(__LITTLE_ENDIAN) # define AFMT_S16_NE AFMT_S16_LE # else # error "could not determine byte order" # endif #endif