/* Wait for the frequency EEPROM to complete a command. I hope this one will be optimally inlined.  */
static void fee_wait(unsigned long ioaddr, int delay, int number)
/* Wait for the frequency EEPROM to complete a command. I hope this one will be optimally inlined.  */
static void fee_wait(unsigned long ioaddr, int delay, int number)
{
	int count = 0;
	while ((count++ < number) &&
	       (mmc_in(ioaddr, mmroff(0, mmr_fee_status)) &
		MMR_FEE_STATUS_BUSY)) udelay(delay);
}