Since each table starts with a header, it isn't very useful to have a separate pointer for the (generic) header and another for the whole table. Also, casting is a bit of a pain. Update smbios_get_header() so that it returns a const void * so that it is possible to directly assign it to the appropriate SMBIOS table's pointer. Signed-off-by: Simon Glass <sjg@chromium.org>