diff options
author | Bertrand Aygon <bertrand.aygon@intel.com> | 2011-08-05 15:21:07 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-08-05 10:48:49 -0500 |
commit | a3b0acd813164d11d5c00d943da5f51cda43df2f (patch) | |
tree | 02f374e2c69c4633743b05bd1460e7d9f29cecd5 /drivers | |
parent | 8dfd369ba530e7a285b1381d95a634e716869bf5 (diff) | |
download | ofono-a3b0acd813164d11d5c00d943da5f51cda43df2f.tar.bz2 |
huaweicdmamodem: Add stub implementation
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/huaweicdmamodem/huaweicdmamodem.c | 42 | ||||
-rw-r--r-- | drivers/huaweicdmamodem/huaweicdmamodem.h | 20 |
2 files changed, 62 insertions, 0 deletions
diff --git a/drivers/huaweicdmamodem/huaweicdmamodem.c b/drivers/huaweicdmamodem/huaweicdmamodem.c new file mode 100644 index 00000000..d9e79435 --- /dev/null +++ b/drivers/huaweicdmamodem/huaweicdmamodem.c @@ -0,0 +1,42 @@ +/* + * + * 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 "huaweicdmamodem.h" + +static int huaweicdmamodem_init(void) +{ + return 0; +} + +static void huaweicdmamodem_exit(void) +{ +} + +OFONO_PLUGIN_DEFINE(huaweicdmamodem, "Huawei CDMA modem driver", VERSION, + OFONO_PLUGIN_PRIORITY_DEFAULT, + huaweicdmamodem_init, huaweicdmamodem_exit) diff --git a/drivers/huaweicdmamodem/huaweicdmamodem.h b/drivers/huaweicdmamodem/huaweicdmamodem.h new file mode 100644 index 00000000..d11ddd98 --- /dev/null +++ b/drivers/huaweicdmamodem/huaweicdmamodem.h @@ -0,0 +1,20 @@ +/* + * + * 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 + * + */ |