Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Driver header for M-5MOLS 8M Pixel camera sensor with ISP
0004  *
0005  * Copyright (C) 2011 Samsung Electronics Co., Ltd.
0006  * Author: HeungJun Kim <riverful.kim@samsung.com>
0007  *
0008  * Copyright (C) 2009 Samsung Electronics Co., Ltd.
0009  * Author: Dongsoo Nathaniel Kim <dongsoo45.kim@samsung.com>
0010  */
0011 
0012 #ifndef MEDIA_M5MOLS_H
0013 #define MEDIA_M5MOLS_H
0014 
0015 /**
0016  * struct m5mols_platform_data - platform data for M-5MOLS driver
0017  * @set_power:  an additional callback to the board setup code
0018  *      to be called after enabling and before disabling
0019  *      the sensor's supply regulators
0020  */
0021 struct m5mols_platform_data {
0022     int (*set_power)(struct device *dev, int on);
0023 };
0024 
0025 #endif  /* MEDIA_M5MOLS_H */