Put function declaration and basic structures into a separate header

It is easier handle from outside and less error prone. The functions are
only defined in one header and not all over the kernel.

Signed-off-by: Christian Ege <k4230r6@gmail.com>
Allow to overwrite the handlers in case of Aotom activated

Signed-off-by: Christian Ege <k4230r6@gmail.com>
Register RTC handler for e2 procfs

This registers two handlers for the RTC provided by aotom. The e2 gui uses
the /proc/stb/fp/rtc file for reading and writing the RTC. In the past there
was no connection between the RTC part in aotom and the e2 procfs.

The RTC needs localtime instead of UTC otherwise the display shows the UTC
time which is maybe several hours off.

Signed-off-by: Christian Ege <k4230r6@gmail.com>