aboutsummaryrefslogtreecommitdiffstats
path: root/hw/eeprom93xx.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
commitc227f0995e1722a1abccc28cadf0664266bd8043 (patch)
tree39e92c2f818e3e8144978740b914731613af0e40 /hw/eeprom93xx.h
parent99a0949b720a0936da2052cb9a46db04ffc6db29 (diff)
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/eeprom93xx.h')
-rw-r--r--hw/eeprom93xx.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/eeprom93xx.h b/hw/eeprom93xx.h
index 72a7c81ef..47282d381 100644
--- a/hw/eeprom93xx.h
+++ b/hw/eeprom93xx.h
@@ -20,21 +20,21 @@
#ifndef EEPROM93XX_H
#define EEPROM93XX_H
-typedef struct eeprom a_eeprom;
+typedef struct _eeprom_t eeprom_t;
/* Create a new EEPROM with (nwords * 2) bytes. */
-a_eeprom *eeprom93xx_new(uint16_t nwords);
+eeprom_t *eeprom93xx_new(uint16_t nwords);
/* Destroy an existing EEPROM. */
-void eeprom93xx_free(a_eeprom *eeprom);
+void eeprom93xx_free(eeprom_t *eeprom);
/* Read from the EEPROM. */
-uint16_t eeprom93xx_read(a_eeprom *eeprom);
+uint16_t eeprom93xx_read(eeprom_t *eeprom);
/* Write to the EEPROM. */
-void eeprom93xx_write(a_eeprom *eeprom, int eecs, int eesk, int eedi);
+void eeprom93xx_write(eeprom_t *eeprom, int eecs, int eesk, int eedi);
/* Get EEPROM data array. */
-uint16_t *eeprom93xx_data(a_eeprom *eeprom);
+uint16_t *eeprom93xx_data(eeprom_t *eeprom);
#endif /* EEPROM93XX_H */