linux/drivers/leds/trigger/ledtrig-camera.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Camera Flash and Torch On/Off Trigger
 *
 * based on ledtrig-ide-disk.c
 *
 * Copyright 2013 Texas Instruments
 *
 * Author: Milo(Woogyom) Kim <[email protected]>
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/leds.h>

DEFINE_LED_TRIGGER(ledtrig_flash);
DEFINE_LED_TRIGGER(ledtrig_torch);

void ledtrig_flash_ctrl(bool on)
{}
EXPORT_SYMBOL_GPL();

void ledtrig_torch_ctrl(bool on)
{}
EXPORT_SYMBOL_GPL();

static int __init ledtrig_camera_init(void)
{}
module_init();

static void __exit ledtrig_camera_exit(void)
{}
module_exit(ledtrig_camera_exit);

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();