cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

tda9887.h (669B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3*/
      4
      5#ifndef __TDA9887_H__
      6#define __TDA9887_H__
      7
      8#include <linux/i2c.h>
      9#include <media/dvb_frontend.h>
     10
     11/* ------------------------------------------------------------------------ */
     12#if IS_REACHABLE(CONFIG_MEDIA_TUNER_TDA9887)
     13extern struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe,
     14					   struct i2c_adapter *i2c_adap,
     15					   u8 i2c_addr);
     16#else
     17static inline struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe,
     18						  struct i2c_adapter *i2c_adap,
     19						  u8 i2c_addr)
     20{
     21	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
     22	return NULL;
     23}
     24#endif
     25
     26#endif /* __TDA9887_H__ */