summaryrefstree
path: root/kernel/techpack/camera/drivers/cam_utils/cam_notifier.h
blob: 7b187ba2daf50974b649b97a6c316a73efec7962 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef CAM_NOTIFIER_H
#define CAM_NOTIFIER_H
#include <linux/notifier.h>

int is_eeprom_info_update(uint32_t, char *);
int is_eeprom_wacom_update_notifier(void);
int is_register_notifier(struct raw_notifier_head*, struct notifier_block*);
int is_unregister_notifier(struct raw_notifier_head*, struct notifier_block*);

#endif /* CAM_NOTIFIER_H */