You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[WATCHDOG] watchdog_info constify
make the watchdog_info struct const where possible. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
@@ -85,7 +85,7 @@ static int riowd_release(struct inode *inode, struct file *filp)
|
||||
|
||||
static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
||||
{
|
||||
static struct watchdog_info info = {
|
||||
static const struct watchdog_info info = {
|
||||
.options = WDIOF_SETTIMEOUT,
|
||||
.firmware_version = 1,
|
||||
.identity = DRIVER_NAME,
|
||||
|
||||
Reference in New Issue
Block a user