summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-07-11 07:58:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-07-11 07:58:33 +0200
commitf64075972b8dc4ec4a701506e5fe8075113d3c4a (patch)
treee8c13889eec312fcb7e32ed040017a16204bd005 /include
parente54183d6d4eb575051e67a020094787c113f238d (diff)
parentb06ecabed947ed778ee2f271c0cb0cc8c4483f5d (diff)
downloadbarebox-f64075972b8dc4ec4a701506e5fe8075113d3c4a.tar.gz
barebox-f64075972b8dc4ec4a701506e5fe8075113d3c4a.tar.xz
Merge branch 'for-next/misc'
Diffstat (limited to 'include')
-rw-r--r--include/.gitignore1
-rw-r--r--include/linux/compiler.h4
-rw-r--r--include/platform_data/eth-smc911x.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/include/.gitignore b/include/.gitignore
index 18e58a752a..f28372a3df 100644
--- a/include/.gitignore
+++ b/include/.gitignore
@@ -1 +1,2 @@
+asm
/config.h
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 020ad16a04..91331dd12f 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -4,8 +4,8 @@
#ifndef __ASSEMBLY__
#ifdef __CHECKER__
-# define __user __attribute__((noderef, address_space(1)))
-# define __kernel __attribute__((address_space(0)))
+# define __user /* no user address space in barebox */
+# define __kernel /* default address space */
# define __safe __attribute__((safe))
# define __force __attribute__((force))
# define __nocast __attribute__((nocast))
diff --git a/include/platform_data/eth-smc911x.h b/include/platform_data/eth-smc911x.h
index 4a802ee52c..c97a2967c9 100644
--- a/include/platform_data/eth-smc911x.h
+++ b/include/platform_data/eth-smc911x.h
@@ -12,7 +12,7 @@
* Pass pointer to this structure as part of device_d -> platform_data
*/
struct smc911x_plat {
- int shift;
+ u32 shift;
unsigned int flags;
unsigned int phy_mask; /* external PHY only: mask out PHYs,
e.g. ~(1 << 5) to use PHY addr 5 */