Skip to content

Commit

Permalink
char/cadence_uart: Mark struct fields as public/private
Browse files Browse the repository at this point in the history
As per current QOM conventions.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: a1e31bd62e9709ffb9b3efc6c120f83f30b7a660.1388626249.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
pete128 authored and pm215 committed Jan 7, 2014
1 parent f9dfa55 commit 2c7fd04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/char/cadence_uart.c
Expand Up @@ -110,7 +110,9 @@
#define CADENCE_UART(obj) OBJECT_CHECK(UartState, (obj), TYPE_CADENCE_UART)

typedef struct {
/*< private >*/
SysBusDevice parent_obj;
/*< public >*/

MemoryRegion iomem;
uint32_t r[R_MAX];
Expand Down

0 comments on commit 2c7fd04

Please sign in to comment.