Просмотр исходного кода

Fix "stuct", "strut", "struc" typos

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Alexey Dobriyan 20 лет назад
Родитель
Сommit
3235798804

+ 2 - 2
Documentation/DocBook/videobook.tmpl

@@ -229,7 +229,7 @@ int __init myradio_init(struct video_init *v)
 
 
 static int users = 0;
 static int users = 0;
 
 
-static int radio_open(stuct video_device *dev, int flags)
+static int radio_open(struct video_device *dev, int flags)
 {
 {
         if(users)
         if(users)
                 return -EBUSY;
                 return -EBUSY;
@@ -949,7 +949,7 @@ int __init mycamera_init(struct video_init *v)
 
 
 static int users = 0;
 static int users = 0;
 
 
-static int camera_open(stuct video_device *dev, int flags)
+static int camera_open(struct video_device *dev, int flags)
 {
 {
         if(users)
         if(users)
                 return -EBUSY;
                 return -EBUSY;

+ 1 - 1
Documentation/input/ff.txt

@@ -120,7 +120,7 @@ to the unique id assigned by the driver. This data is required for performing
 some operations (removing an effect, controlling the playback).
 some operations (removing an effect, controlling the playback).
 This if field must be set to -1 by the user in order to tell the driver to
 This if field must be set to -1 by the user in order to tell the driver to
 allocate a new effect.
 allocate a new effect.
-See <linux/input.h> for a description of the ff_effect stuct. You should also
+See <linux/input.h> for a description of the ff_effect struct. You should also
 find help in a few sketches, contained in files shape.fig and interactive.fig.
 find help in a few sketches, contained in files shape.fig and interactive.fig.
 You need xfig to visualize these files.
 You need xfig to visualize these files.
 
 

+ 1 - 1
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl

@@ -5577,7 +5577,7 @@ struct _snd_pcm_runtime {
       <informalexample>
       <informalexample>
         <programlisting>
         <programlisting>
 <![CDATA[
 <![CDATA[
-  static int mychip_suspend(strut pci_dev *pci, pm_message_t state)
+  static int mychip_suspend(struct pci_dev *pci, pm_message_t state)
   {
   {
           /* (1) */
           /* (1) */
           struct snd_card *card = pci_get_drvdata(pci);
           struct snd_card *card = pci_get_drvdata(pci);

+ 1 - 1
drivers/net/wan/lmc/lmc_main.c

@@ -641,7 +641,7 @@ static void lmc_watchdog (unsigned long data) /*fold00*/
     spin_lock_irqsave(&sc->lmc_lock, flags);
     spin_lock_irqsave(&sc->lmc_lock, flags);
 
 
     if(sc->check != 0xBEAFCAFE){
     if(sc->check != 0xBEAFCAFE){
-        printk("LMC: Corrupt net_device stuct, breaking out\n");
+        printk("LMC: Corrupt net_device struct, breaking out\n");
 	spin_unlock_irqrestore(&sc->lmc_lock, flags);
 	spin_unlock_irqrestore(&sc->lmc_lock, flags);
         return;
         return;
     }
     }

+ 1 - 1
drivers/scsi/FlashPoint.c

@@ -149,7 +149,7 @@ typedef SCCBMGR_INFO *      PSCCBMGR_INFO;
 #define PCI_BUS_CARD          0x03
 #define PCI_BUS_CARD          0x03
 #define VESA_BUS_CARD         0x04
 #define VESA_BUS_CARD         0x04
 
 
-/* SCCB struc used for both SCCB and UCB manager compiles! 
+/* SCCB struct used for both SCCB and UCB manager compiles! 
  * The UCB Manager treats the SCCB as it's 'native hardware structure' 
  * The UCB Manager treats the SCCB as it's 'native hardware structure' 
  */
  */
 
 

+ 1 - 1
include/asm-v850/ptrace.h

@@ -92,7 +92,7 @@ struct pt_regs
 /* The number of bytes used to store each register.  */
 /* The number of bytes used to store each register.  */
 #define _PT_REG_SIZE	4
 #define _PT_REG_SIZE	4
 
 
-/* Offset of a general purpose register in a stuct pt_regs.  */
+/* Offset of a general purpose register in a struct pt_regs.  */
 #define PT_GPR(num)	((num) * _PT_REG_SIZE)
 #define PT_GPR(num)	((num) * _PT_REG_SIZE)
 
 
 /* Offsets of various special registers & fields in a struct pt_regs.  */
 /* Offsets of various special registers & fields in a struct pt_regs.  */

+ 1 - 1
include/linux/pfkeyv2.h

@@ -104,7 +104,7 @@ struct sadb_prop {
 /* followed by:
 /* followed by:
 	struct sadb_comb sadb_combs[(sadb_prop_len +
 	struct sadb_comb sadb_combs[(sadb_prop_len +
 		sizeof(uint64_t) - sizeof(struct sadb_prop)) /
 		sizeof(uint64_t) - sizeof(struct sadb_prop)) /
-		sizeof(strut sadb_comb)]; */
+		sizeof(struct sadb_comb)]; */
 
 
 struct sadb_comb {
 struct sadb_comb {
 	uint8_t		sadb_comb_auth;
 	uint8_t		sadb_comb_auth;