/* This should be called with a NULL @procfn when a module unregisters, thus preventing kernel crashes and other such nastiness.  */
void mca_set_adapter_procfn(int slot, MCA_ProcFn procfn, void *proc_dev)
/* This should be called with a NULL @procfn when a module unregisters, thus preventing kernel crashes and other such nastiness.  */
void mca_set_adapter_procfn(int slot, MCA_ProcFn procfn, void *proc_dev)
{
	struct mca_device *mca_dev = mca_find_device_by_slot(slot);
	if(!mca_dev)
		return;
	mca_dev->procfn = procfn;
	mca_dev->proc_dev = proc_dev;
}