Skip to content

Commit 3235798

Browse files
Alexey DobriyanAdrian Bunk
authored andcommitted
Fix "stuct", "strut", "struc" typos
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
1 parent fad6a94 commit 3235798

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎Documentation/DocBook/videobook.tmpl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ int __init myradio_init(struct video_init *v)
229229

230230
static int users = 0;
231231

232-
static int radio_open(stuct video_device *dev, int flags)
232+
static int radio_open(struct video_device *dev, int flags)
233233
{
234234
if(users)
235235
return -EBUSY;
@@ -949,7 +949,7 @@ int __init mycamera_init(struct video_init *v)
949949

950950
static int users = 0;
951951

952-
static int camera_open(stuct video_device *dev, int flags)
952+
static int camera_open(struct video_device *dev, int flags)
953953
{
954954
if(users)
955955
return -EBUSY;

‎Documentation/input/ff.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ to the unique id assigned by the driver. This data is required for performing
120120
some operations (removing an effect, controlling the playback).
121121
This if field must be set to -1 by the user in order to tell the driver to
122122
allocate a new effect.
123-
See <linux/input.h> for a description of the ff_effect stuct. You should also
123+
See <linux/input.h> for a description of the ff_effect struct. You should also
124124
find help in a few sketches, contained in files shape.fig and interactive.fig.
125125
You need xfig to visualize these files.
126126

‎Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5577,7 +5577,7 @@ struct _snd_pcm_runtime {
55775577
<informalexample>
55785578
<programlisting>
55795579
<![CDATA[
5580-
static int mychip_suspend(strut pci_dev *pci, pm_message_t state)
5580+
static int mychip_suspend(struct pci_dev *pci, pm_message_t state)
55815581
{
55825582
/* (1) */
55835583
struct snd_card *card = pci_get_drvdata(pci);

‎drivers/net/wan/lmc/lmc_main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ static void lmc_watchdog (unsigned long data) /*fold00*/
641641
spin_lock_irqsave(&sc->lmc_lock, flags);
642642

643643
if(sc->check != 0xBEAFCAFE){
644-
printk("LMC: Corrupt net_device stuct, breaking out\n");
644+
printk("LMC: Corrupt net_device struct, breaking out\n");
645645
spin_unlock_irqrestore(&sc->lmc_lock, flags);
646646
return;
647647
}

‎drivers/scsi/FlashPoint.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ typedef SCCBMGR_INFO * PSCCBMGR_INFO;
149149
#define PCI_BUS_CARD 0x03
150150
#define VESA_BUS_CARD 0x04
151151

152-
/* SCCB struc used for both SCCB and UCB manager compiles!
152+
/* SCCB struct used for both SCCB and UCB manager compiles!
153153
* The UCB Manager treats the SCCB as it's 'native hardware structure'
154154
*/
155155

‎include/asm-v850/ptrace.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ struct pt_regs
9292
/* The number of bytes used to store each register. */
9393
#define _PT_REG_SIZE 4
9494

95-
/* Offset of a general purpose register in a stuct pt_regs. */
95+
/* Offset of a general purpose register in a struct pt_regs. */
9696
#define PT_GPR(num) ((num) * _PT_REG_SIZE)
9797

9898
/* Offsets of various special registers & fields in a struct pt_regs. */

‎include/linux/pfkeyv2.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct sadb_prop {
104104
/* followed by:
105105
struct sadb_comb sadb_combs[(sadb_prop_len +
106106
sizeof(uint64_t) - sizeof(struct sadb_prop)) /
107-
sizeof(strut sadb_comb)]; */
107+
sizeof(struct sadb_comb)]; */
108108

109109
struct sadb_comb {
110110
uint8_t sadb_comb_auth;

0 commit comments

Comments
 (0)