summaryrefslogtreecommitdiffstats
path: root/drivers/qmimodem
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-05-27 10:13:55 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-05-27 10:13:55 +0200
commit85d43570fd101e69b1ed622bf58e4d66bb6a5e1f (patch)
tree128647ac7db3d53aed1811283c4e1b498a8e565d /drivers/qmimodem
parentec4ba8a6fcc18d4b08067ffc5ff708862a6e74a6 (diff)
downloadofono-85d43570fd101e69b1ed622bf58e4d66bb6a5e1f.tar.bz2
build: Add skeleton for Qualcomm QMI modem driver
Diffstat (limited to 'drivers/qmimodem')
-rw-r--r--drivers/qmimodem/qmimodem.c41
-rw-r--r--drivers/qmimodem/qmimodem.h21
2 files changed, 62 insertions, 0 deletions
diff --git a/drivers/qmimodem/qmimodem.c b/drivers/qmimodem/qmimodem.c
new file mode 100644
index 00000000..afbe4cde
--- /dev/null
+++ b/drivers/qmimodem/qmimodem.c
@@ -0,0 +1,41 @@
+/*
+ *
+ * oFono - Open Source Telephony
+ *
+ * Copyright (C) 2008-2011 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#define OFONO_API_SUBJECT_TO_CHANGE
+#include <ofono/plugin.h>
+
+#include "qmimodem.h"
+
+static int qmimodem_init(void)
+{
+ return 0;
+}
+
+static void qmimodem_exit(void)
+{
+}
+
+OFONO_PLUGIN_DEFINE(qmimodem, "Qualcomm QMI modem driver", VERSION,
+ OFONO_PLUGIN_PRIORITY_DEFAULT, qmimodem_init, qmimodem_exit)
diff --git a/drivers/qmimodem/qmimodem.h b/drivers/qmimodem/qmimodem.h
new file mode 100644
index 00000000..018747f7
--- /dev/null
+++ b/drivers/qmimodem/qmimodem.h
@@ -0,0 +1,21 @@
+/*
+ *
+ * oFono - Open Source Telephony
+ *
+ * Copyright (C) 2008-2011 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+