1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Driver header for M-5MOLS 8M Pixel camera sensor with ISP 4 * 5 * Copyright (C) 2011 Samsung Electronics Co., Ltd. 6 * Author: HeungJun Kim <riverful.kim@samsung.com> 7 * 8 * Copyright (C) 2009 Samsung Electronics Co., Ltd. 9 * Author: Dongsoo Nathaniel Kim <dongsoo45.kim@samsung.com> 10 */ 11 12 #ifndef MEDIA_M5MOLS_H 13 #define MEDIA_M5MOLS_H 14 15 /** 16 * struct m5mols_platform_data - platform data for M-5MOLS driver 17 * @set_power: an additional callback to the board setup code 18 * to be called after enabling and before disabling 19 * the sensor's supply regulators 20 */ 21 struct m5mols_platform_data { 22 int (*set_power)(struct device *dev, int on); 23 }; 24 25 #endif /* MEDIA_M5MOLS_H */ 26