1.7 Beta14
i2c: Fix section mismatch

The function i2c_ssbi_probe is referenced outside of the __init section.
This is fixed by calling platform_driver_probe instead of
platform_driver_register since this device is not hotplugable.

Change-Id: I9f217ce230b52d2037a49ba49bc7342ceb076be5
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: nobodyAtall <tsogkas@ceid.upatras.gr>
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
Signed-off-by: KaSt <k@ka.st>
crypto: Use correct enum

gcc 4.5 shows that the enum constants used come from the wrong enum
type, although the values are the same.  Use the proper constants.

Based on a fix from Mona Hossain <mhossain@codeaurora.org>

(cherry picked from commit ea018aec12910a82074f85a9ffa487a05109ed67)

Change-Id: I956f0eb095ffb78295613a79cbda26a9da28adaa
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: nobodyAtall <tsogkas@ceid.upatras.gr>
Signed-off-by: garwedgess <garethwilliams21@gmail.com>
Signed-off-by: KaSt <k@ka.st>
Revert sem.h tweaks
Revert "dm-ioctl: prefer strlcpy over strncpy"

This reverts commit c67f5c04a8bd3e465196f7e480873a15fd9e538b.