summaryrefslogtreecommitdiffstats
path: root/include/linux/spinlock_up.h
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>2013-07-04 10:35:35 +0100
committerDavid S. Miller <davem@davemloft.net>2013-07-04 14:34:17 -0700
commitd741434c3e0ae5592b72a0f4833a42b4be1b2fa1 (patch)
tree10378f1e0e36060ba615ca2a4736e597c26176df /include/linux/spinlock_up.h
parentc9324d1870f3a7d13297ae6b787c567606ab3c89 (diff)
dt:net:stmmac: Allocate platform data only if its NULL.
In some DT use-cases platform data might be already allocated and passed via AUXDATA. These are the cases where machine level code populates few callbacks in the platform data. This patch adds check and reuses platform_data if its valid, before allocating a new one. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/spinlock_up.h')
0 files changed, 0 insertions, 0 deletions