summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2015-12-03 13:25:47 -0600
committerDenis Kenzior <denkenz@gmail.com>2015-12-03 13:26:15 -0600
commit234dfedbaaaafe110970ec0a140ae222c10cdae5 (patch)
treec9b599e5fda2d86d322f0c5ec56c78137d0bbe9e /drivers
parent55cedbf109663ecc48c1f0d28aa2b874a96507a7 (diff)
downloadofono-234dfedbaaaafe110970ec0a140ae222c10cdae5.tar.bz2
rilmodem: Remove drivers/rilmodem/gprs.h
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rilmodem/gprs.c8
-rw-r--r--drivers/rilmodem/gprs.h30
2 files changed, 8 insertions, 30 deletions
diff --git a/drivers/rilmodem/gprs.c b/drivers/rilmodem/gprs.c
index 6ef45768..955f2de2 100644
--- a/drivers/rilmodem/gprs.c
+++ b/drivers/rilmodem/gprs.c
@@ -50,6 +50,14 @@
/* Time between get data status retries */
#define GET_STATUS_TIMER_MS 5000
+struct ril_gprs_data {
+ GRil *ril;
+ struct ofono_modem *modem;
+ gboolean ofono_attached;
+ int rild_status;
+ int pending_deact_req;
+};
+
/*
* This module is the ofono_gprs_driver implementation for rilmodem.
*
diff --git a/drivers/rilmodem/gprs.h b/drivers/rilmodem/gprs.h
deleted file mode 100644
index 5a1cd6c5..00000000
--- a/drivers/rilmodem/gprs.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- *
- * oFono - Open Source Telephony
- *
- * Copyright (C) 2014 Canonical Ltd.
- *
- * 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
- *
- */
-
-#include "drivers/rilmodem/rilutil.h"
-
-struct ril_gprs_data {
- GRil *ril;
- struct ofono_modem *modem;
- gboolean ofono_attached;
- int rild_status;
- int pending_deact_req;
-};