mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
Address all obvious coding style issues caught by checkpatch.pl tool. sha2.c and sha2.h were kept as there are. Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
24 lines
474 B
C
24 lines
474 B
C
#ifndef __PATCH_H__
|
|
#define __PATCH_H__
|
|
|
|
struct qdl_device;
|
|
|
|
struct patch {
|
|
unsigned int sector_size;
|
|
unsigned int byte_offset;
|
|
const char *filename;
|
|
unsigned int partition;
|
|
unsigned int size_in_bytes;
|
|
const char *start_sector;
|
|
const char *value;
|
|
const char *what;
|
|
|
|
struct patch *next;
|
|
};
|
|
|
|
int patch_load(const char *patch_file);
|
|
int patch_execute(struct qdl_device *qdl, int (*apply)(struct qdl_device *qdl, struct patch *patch));
|
|
void free_patches(void);
|
|
|
|
#endif
|