aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mca
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mca')
-rw-r--r--drivers/mca/mca-legacy.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/mca/mca-legacy.c b/drivers/mca/mca-legacy.c
index 0c7bfa74c8ef..494f0c2001f5 100644
--- a/drivers/mca/mca-legacy.c
+++ b/drivers/mca/mca-legacy.c
@@ -282,24 +282,6 @@ void mca_set_adapter_name(int slot, char* name)
282EXPORT_SYMBOL(mca_set_adapter_name); 282EXPORT_SYMBOL(mca_set_adapter_name);
283 283
284/** 284/**
285 * mca_is_adapter_used - check if claimed by driver
286 * @slot: slot to check
287 *
288 * Returns 1 if the slot has been claimed by a driver
289 */
290
291int mca_is_adapter_used(int slot)
292{
293 struct mca_device *mca_dev = mca_find_device_by_slot(slot);
294
295 if(!mca_dev)
296 return 0;
297
298 return mca_device_claimed(mca_dev);
299}
300EXPORT_SYMBOL(mca_is_adapter_used);
301
302/**
303 * mca_mark_as_used - claim an MCA device 285 * mca_mark_as_used - claim an MCA device
304 * @slot: slot to claim 286 * @slot: slot to claim
305 * FIXME: should we make this threadsafe 287 * FIXME: should we make this threadsafe