From 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 13 May 2024 10:30:14 +0000
Subject: [PATCH] modify sin led gpio
---
kernel/include/linux/seq_buf.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/kernel/include/linux/seq_buf.h b/kernel/include/linux/seq_buf.h
index aa5deb0..9d6c28c 100644
--- a/kernel/include/linux/seq_buf.h
+++ b/kernel/include/linux/seq_buf.h
@@ -30,7 +30,7 @@
}
static inline void
-seq_buf_init(struct seq_buf *s, unsigned char *buf, unsigned int size)
+seq_buf_init(struct seq_buf *s, char *buf, unsigned int size)
{
s->buffer = buf;
s->size = size;
@@ -125,6 +125,9 @@
extern int seq_buf_putmem_hex(struct seq_buf *s, const void *mem,
unsigned int len);
extern int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc);
+extern int seq_buf_hex_dump(struct seq_buf *s, const char *prefix_str,
+ int prefix_type, int rowsize, int groupsize,
+ const void *buf, size_t len, bool ascii);
#ifdef CONFIG_BINARY_PRINTF
extern int
--
Gitblit v1.6.2