linux/drivers/media/tuners/fc0013-priv.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0-or-later */
   2/*
   3 * Fitipower FC0013 tuner driver
   4 *
   5 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net>
   6 */
   7
   8#ifndef _FC0013_PRIV_H_
   9#define _FC0013_PRIV_H_
  10
  11#define LOG_PREFIX "fc0013"
  12
  13#undef err
  14#define err(f, arg...)  printk(KERN_ERR     LOG_PREFIX": " f "\n" , ## arg)
  15#undef info
  16#define info(f, arg...) printk(KERN_INFO    LOG_PREFIX": " f "\n" , ## arg)
  17#undef warn
  18#define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg)
  19
  20struct fc0013_priv {
  21        struct i2c_adapter *i2c;
  22        u8 addr;
  23        u8 dual_master;
  24        u8 xtal_freq;
  25
  26        u32 frequency;
  27        u32 bandwidth;
  28};
  29
  30#endif
  31