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

zl10039.h (611B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3    Driver for Zarlink ZL10039 DVB-S tuner
      4
      5    Copyright (C) 2007 Jan D. Louw <jd.louw@mweb.co.za>
      6
      7*/
      8
      9#ifndef ZL10039_H
     10#define ZL10039_H
     11
     12#if IS_REACHABLE(CONFIG_DVB_ZL10039)
     13struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
     14					u8 i2c_addr,
     15					struct i2c_adapter *i2c);
     16#else
     17static inline struct dvb_frontend *zl10039_attach(struct dvb_frontend *fe,
     18					u8 i2c_addr,
     19					struct i2c_adapter *i2c)
     20{
     21	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
     22	return NULL;
     23}
     24#endif /* CONFIG_DVB_ZL10039 */
     25
     26#endif /* ZL10039_H */