summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/amba/ambapp_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/amba/ambapp_alloc.c')
-rw-r--r--c/src/lib/libbsp/sparc/shared/amba/ambapp_alloc.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/amba/ambapp_alloc.c b/c/src/lib/libbsp/sparc/shared/amba/ambapp_alloc.c
deleted file mode 100644
index 2357f697b9..0000000000
--- a/c/src/lib/libbsp/sparc/shared/amba/ambapp_alloc.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * AMBA Plug & Play routines
- *
- * COPYRIGHT (c) 2011
- * Aeroflex Gaisler
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#include <ambapp.h>
-
-int ambapp_alloc_dev(struct ambapp_dev *dev, void *owner)
-{
- if (dev->owner)
- return -1;
- dev->owner = owner;
- return 0;
-}
-
-void ambapp_free_dev(struct ambapp_dev *dev)
-{
- dev->owner = 0;
-}