Blame view

drivers/regulator/dummy.h 511 Bytes
2874c5fd2   Thomas Gleixner   treewide: Replace...
1
  /* SPDX-License-Identifier: GPL-2.0-or-later */
34abbd68e   Mark Brown   regulator: Provid...
2
3
4
5
6
7
8
  /*
   * dummy.h
   *
   * Copyright 2010 Wolfson Microelectronics PLC.
   *
   * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
   *
34abbd68e   Mark Brown   regulator: Provid...
9
10
11
12
13
14
15
16
17
18
19
   * This is useful for systems with mixed controllable and
   * non-controllable regulators, as well as for allowing testing on
   * systems with no controllable regulators.
   */
  
  #ifndef _DUMMY_H
  #define _DUMMY_H
  
  struct regulator_dev;
  
  extern struct regulator_dev *dummy_regulator_rdev;
34abbd68e   Mark Brown   regulator: Provid...
20
  void __init regulator_dummy_init(void);
34abbd68e   Mark Brown   regulator: Provid...
21
22
  
  #endif