spin_lock_irqsave(&pcmcia_dev_list_lock, flags); if (list_empty(&skt->pcmcia->devices_list)) no_devices=1; spin_unlock_irqrestore(&pcmcia_dev_list_lock, flags);   if (no_devices) { int ret = pcmcia_card_add(skt); if (ret) return; }   bus_for_each_dev(&pcmcia_bus_type, NULL, NULL, pcmcia_requery);
static void pcmcia_bus_rescan(void){	/* must be called with skt_sem held */	bus_rescan_devices(&pcmcia_bus_type);}