backports: only add regulator code when regulator is activated in kernel

The backported parts of the regulator subsystem are depending on the
regulator subsystem being build into the kernel, deactivate them if the
regulator subsystem was not activated in the kernel config.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: do not build tty backport if it is not in the kernel

The backported parts of tty are depending on tty being build into the
kernel, deactivate them if tty was not activated in the kernel config.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: always activate the of.h backports

This removes the KERNEL_HAS_OF_SUPPORT option from backports.
We can not include linux/of.h on kernel < 2.6.34, because this depends
on some sparc and powerpc only headers. The backport code should still
be included in this header file for such kernel versions, because some
recent drivers are using these functions now on all platforms, but they
will use the empty implementations then.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: add of_property_read_u8_array()

This is needed by drivers/bluetooth/btmrvl_main.c

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: add ipv6_addr_is_solict_mult()

This is needed by drivers/net/usb/cdc_mbim.c

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: fix signature of __vlan_find_dev_deep()

__vlan_find_dev_deep() got an extra parameter in recent kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: update kfifo

This brings kfifo to the state of next-20131106.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: fix kfifo_put()

kfifo_put() now gets the second parameter by value and not by reference
any more. This replaces the in kernel implementation of kfifo_put()
with a version which is compatible to the in kernel structures but
takes the value and not a reference to the value. We wanted to do this:
 #define kfifo_put(fifo, val) kfifo_put(fifo, &val)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: remove usage of ipv6_stub

We can not easily backport ipv6_stub which provides some IPv6 function
callbacks. These patches are removing usage of ipv6_stub which was
introduces in this commit:
commit 5f81bd2e5d804ca93f3ec8873451b22d2f454721
Author: Cong Wang <amwang@redhat.com>
Date:   Sat Aug 31 13:44:30 2013 +0800

    ipv6: export a stub for IPv6 symbols used by vxlan

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: remove soc_camera_power_{on,off}()

backports already exports these functions in
drivers/media/platform/soc_camera/soc_camera.c

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: refresh on next-20131107

== ckmake-report.log ==

1   2.6.25              [  OK  ]
2   2.6.26              [  OK  ]
3   2.6.27              [  OK  ]
4   2.6.28              [  OK  ]
5   2.6.29              [  OK  ]
6   2.6.30              [  OK  ]
7   2.6.31              [  OK  ]
8   2.6.32              [  OK  ]
9   2.6.33              [  OK  ]
10  2.6.34              [  OK  ]
11  2.6.35              [  OK  ]
12  2.6.36              [  OK  ]
13  2.6.37              [  OK  ]
14  2.6.38              [  OK  ]
15  2.6.39              [  OK  ]
16  3.0.101             [  OK  ]
17  3.1.10              [  OK  ]
18  3.10.17             [  OK  ]
19  3.11.6              [  OK  ]
20  3.12-rc7            [  OK  ]
21  3.2.52              [  OK  ]
22  3.3.8               [  OK  ]
23  3.4.67              [  OK  ]
24  3.5.7               [  OK  ]
25  3.6.11              [  OK  ]
26  3.7.10              [  OK  ]
27  3.8.13              [  OK  ]
28  3.9.11              [  OK  ]

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>