/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.org>
 *
 * Copyright (C) 2009 NXP B.V.
 * All Rights Reserved.
 *
 * NXP based DVB adapter driver.
 * Based on the bt8xx driver by Florian Schirmer <jolt@tuxbox.org>
 *
*//*

Rev Date        Author         Comments
--------------------------------------------------------------------------------
001 20090304    Christophe Grosse   First version.
--------------------------------------------------------------------------------
    For consistency and standardisation retain the Section Separators.
*/

#ifndef TDA18218_H
#define TDA18218_H

#include <linux/i2c.h>
#include "dvb_frontend.h"


#if defined(CONFIG_DVB_TDA18218) || defined(CONFIG_DVB_TDA18218_MODULE) && defined(MODULE)
extern struct dvb_frontend * tda18218_attach(struct dvb_frontend * fe, u8 i2c_addr, struct i2c_adapter * i2c_adap);
#else
static inline struct dvb_frontend * tda18218_attach(struct dvb_frontend * fe, u8 i2c_addr, struct i2c_adapter * i2c_adap)
{
 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
 return NULL;
}
#endif

#endif /* TDA18218_H */
