summaryrefslogtreecommitdiff
path: root/drivers/bcma/driver_gmac_cmn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bcma/driver_gmac_cmn.c')
-rw-r--r--drivers/bcma/driver_gmac_cmn.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/bcma/driver_gmac_cmn.c b/drivers/bcma/driver_gmac_cmn.c
new file mode 100644
index 000000000000..834225f65e8f
--- /dev/null
+++ b/drivers/bcma/driver_gmac_cmn.c
@@ -0,0 +1,14 @@
+/*
+ * Broadcom specific AMBA
+ * GBIT MAC COMMON Core
+ *
+ * Licensed under the GNU/GPL. See COPYING for details.
+ */
+
+#include "bcma_private.h"
+#include <linux/bcma/bcma.h>
+
+void __devinit bcma_core_gmac_cmn_init(struct bcma_drv_gmac_cmn *gc)
+{
+ mutex_init(&gc->phy_mutex);
+}