pn53x: factorize & generalize CHIP_DATA() usage

This commit is contained in:
Philippe Teuwen 2011-04-04 09:26:10 +00:00
parent 7314b7d598
commit 5600007dd3
6 changed files with 20 additions and 24 deletions

View file

@ -133,6 +133,8 @@ struct pn53x_data {
uint8_t ui8LastCommand;
};
#define CHIP_DATA(pnd) ((struct pn53x_data*)(pnd->chip_data))
/* PN53x specific types */
/**
* @enum pn53x_modulation_t