Commit 7a82332b authored by Federico Vaga's avatar Federico Vaga

kernel: remove 'inttypes.h' hack -- fixed in wbgen2

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent 92318566
......@@ -14,7 +14,11 @@
#ifndef __WBGEN2_REGDEFS_FD_CHANNEL_WISHBONE_SLAVE_WB
#define __WBGEN2_REGDEFS_FD_CHANNEL_WISHBONE_SLAVE_WB
#ifdef __KERNEL__
#include <linux/types.h>
#else
#include <inttypes.h>
#endif
#if defined( __GNUC__)
#define PACKED __attribute__ ((packed))
......
......@@ -14,7 +14,11 @@
#ifndef __WBGEN2_REGDEFS_FD_MAIN_WISHBONE_SLAVE_WB
#define __WBGEN2_REGDEFS_FD_MAIN_WISHBONE_SLAVE_WB
#ifdef __KERNEL__
#include <linux/types.h>
#else
#include <inttypes.h>
#endif
#if defined( __GNUC__)
#define PACKED __attribute__ ((packed))
......
/* wbgen includes inttypes (bug to be fixed) */
#include <linux/types.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment