diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-01-06 19:52:34 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-01-06 19:53:23 -0800 |
commit | b9e86d98be634d98a0b95d3f882a64c7e1f8ff10 (patch) | |
tree | 4bb17142818b307b53c3850c320e0f9244415b47 /drivers/huaweicdmamodem/huaweicdmamodem.c | |
parent | c7ec6efa4e4dc51decfa1bd26e17a08948e616c0 (diff) | |
download | ofono-b9e86d98be634d98a0b95d3f882a64c7e1f8ff10.tar.bz2 |
huaweimodem: Move CDMA network registration into default driver
With merging the GSM/UTMS and CDMA modem plugin into a unified version,
it also makes sense to merge the Huawei specific vendor atom drivers
into one.
Diffstat (limited to 'drivers/huaweicdmamodem/huaweicdmamodem.c')
-rw-r--r-- | drivers/huaweicdmamodem/huaweicdmamodem.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/drivers/huaweicdmamodem/huaweicdmamodem.c b/drivers/huaweicdmamodem/huaweicdmamodem.c deleted file mode 100644 index 4e9c4008..00000000 --- a/drivers/huaweicdmamodem/huaweicdmamodem.c +++ /dev/null @@ -1,45 +0,0 @@ -/* - * - * 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) -{ - huaweicdma_netreg_init(); - - return 0; -} - -static void huaweicdmamodem_exit(void) -{ - huaweicdma_netreg_exit(); -} - -OFONO_PLUGIN_DEFINE(huaweicdmamodem, "Huawei CDMA modem driver", VERSION, - OFONO_PLUGIN_PRIORITY_DEFAULT, - huaweicdmamodem_init, huaweicdmamodem_exit) |