Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git

This commit is contained in:
Stephen Rothwell 2024-12-20 14:20:17 +11:00
commit 458b632e71
5 changed files with 8 additions and 7 deletions

View File

@ -6,6 +6,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/string_choices.h>
#include "fbtft.h" #include "fbtft.h"
@ -162,7 +163,7 @@ static int set_gamma(struct fbtft_par *par, u32 *curves)
static int blank(struct fbtft_par *par, bool on) static int blank(struct fbtft_par *par, bool on)
{ {
fbtft_par_dbg(DEBUG_BLANK, par, "(%s=%s)\n", fbtft_par_dbg(DEBUG_BLANK, par, "(%s=%s)\n",
__func__, on ? "true" : "false"); __func__, str_true_false(on));
if (on) if (on)
write_reg(par, 0xAE); write_reg(par, 0xAE);
else else

View File

@ -10,7 +10,6 @@
/* base module includes */ /* base module includes */
#include <linux/version.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/init.h> #include <linux/init.h>
@ -25,7 +24,6 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/sched/signal.h> #include <linux/sched/signal.h>
#include <linux/uaccess.h>
#include <linux/usb.h> #include <linux/usb.h>
#include "gpibP.h" #include "gpibP.h"

View File

@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2 // SPDX-License-Identifier: GPL-2.0-only
/* /*
* Hardware driver for NI Mite PCI interface chip, * Hardware driver for NI Mite PCI interface chip,

View File

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2 */ /* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* Hardware driver for NI Mite PCI interface chip * Hardware driver for NI Mite PCI interface chip

View File

@ -1467,7 +1467,8 @@ struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv)
pxmitbuf->priv_data = NULL; pxmitbuf->priv_data = NULL;
pxmitbuf->len = 0; pxmitbuf->len = 0;
pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; pxmitbuf->pdata = pxmitbuf->phead;
pxmitbuf->ptail = pxmitbuf->phead;
pxmitbuf->agg_num = 1; pxmitbuf->agg_num = 1;
if (pxmitbuf->sctx) if (pxmitbuf->sctx)
@ -1526,7 +1527,8 @@ struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv)
pxmitbuf->priv_data = NULL; pxmitbuf->priv_data = NULL;
pxmitbuf->len = 0; pxmitbuf->len = 0;
pxmitbuf->pdata = pxmitbuf->ptail = pxmitbuf->phead; pxmitbuf->pdata = pxmitbuf->phead;
pxmitbuf->ptail = pxmitbuf->phead;
pxmitbuf->agg_num = 0; pxmitbuf->agg_num = 0;
pxmitbuf->pg_num = 0; pxmitbuf->pg_num = 0;