Commit 30059d93b07a034555defbf14d689a279fd7368d

Authored by Srinivas Kandagatla
Committed by Mauro Carvalho Chehab
1 parent 961e668b34

[media] kernel:kfifo: export __kfifo_max_r symbol

kfifo_avail expands to __kfifo_max_r which is not an exported symbol.
Any kernel module using kfifo_avail will result in build failures
because of this.
This patch just exports __kfifo_max_r symbol to fix such problems in
future.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Acked-by: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -402,6 +402,7 @@
402 402 return max;
403 403 return len;
404 404 }
  405 +EXPORT_SYMBOL(__kfifo_max_r);
405 406  
406 407 #define __KFIFO_PEEK(data, out, mask) \
407 408 ((data)[(out) & (mask)])