Add skeleton for PhoNet modem driver

This commit is contained in:
Marcel Holtmann 2009-05-13 11:21:13 -07:00
parent b77f2fee1e
commit 36eeffeede
2 changed files with 45 additions and 0 deletions

View File

@ -11,6 +11,9 @@ builtin_sources += atmodem/main.c atmodem/at.h \
atmodem/network-registration.c \
atmodem/ussd.c atmodem/voicecall.c
builtin_modules += phonet
builtin_sources += phonet/phonet.c
noinst_LTLIBRARIES = libbuiltin.la
libbuiltin_la_SOURCES = $(builtin_sources)

42
drivers/phonet/phonet.c Normal file
View File

@ -0,0 +1,42 @@
/*
*
* oFono - Open Source Telephony
*
* Copyright (C) 2008-2009 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
#include <ofono/plugin.h>
#include <ofono/log.h>
static int phonet_init(void)
{
DBG("");
return 0;
}
static void phonet_exit(void)
{
DBG("");
}
OFONO_PLUGIN_DEFINE(phonet, "PhoNet modem driver", VERSION,
OFONO_PLUGIN_PRIORITY_DEFAULT, phonet_init, phonet_exit)