PTP fixes
Created originally on Bitbucket by Maqs
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
- Updates ptp.h to reflect already known structures and function parameters and the fact that PTP is not USB only, but seems to be used via SDIO, USB and IP, at least for the cameras supporting the latter.
- Compile fixes for ptp-ml.c (still used SmallAlloc/SmallFree)
- Initialize values for some parts of the ML PTP handler to avoid crashes. Howevery, this also disables the handlers, which is not that bad, because they need fixing anyway, as they would just crash otherwise. :-)