mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Follow coding conventions
Remove explicit struct qualifiers and rename structure types. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
d4ec522882
commit
bc24a225af
56 changed files with 864 additions and 862 deletions
6
hw/sd.h
6
hw/sd.h
|
@ -59,16 +59,16 @@ typedef enum {
|
|||
sd_adtc, /* addressed with data transfer */
|
||||
} sd_cmd_type_t;
|
||||
|
||||
struct sd_request_s {
|
||||
typedef struct {
|
||||
uint8_t cmd;
|
||||
uint32_t arg;
|
||||
uint8_t crc;
|
||||
};
|
||||
} SDRequest;
|
||||
|
||||
typedef struct SDState SDState;
|
||||
|
||||
SDState *sd_init(BlockDriverState *bs, int is_spi);
|
||||
int sd_do_command(SDState *sd, struct sd_request_s *req,
|
||||
int sd_do_command(SDState *sd, SDRequest *req,
|
||||
uint8_t *response);
|
||||
void sd_write_data(SDState *sd, uint8_t value);
|
||||
uint8_t sd_read_data(SDState *sd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue