Commit 32357988 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Adrian Bunk
Browse files

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

parent fad6a94e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ int __init myradio_init(struct video_init *v)

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)
                return -EBUSY;
@@ -949,7 +949,7 @@ int __init mycamera_init(struct video_init *v)

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)
                return -EBUSY;
+1 −1
Original line number Diff line number Diff line
@@ -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).
This if field must be set to -1 by the user in order to tell the driver to
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.
You need xfig to visualize these files.

+1 −1
Original line number Diff line number Diff line
@@ -5577,7 +5577,7 @@ struct _snd_pcm_runtime {
      <informalexample>
        <programlisting>
<![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) */
          struct snd_card *card = pci_get_drvdata(pci);
+1 −1
Original line number Diff line number Diff line
@@ -641,7 +641,7 @@ static void lmc_watchdog (unsigned long data) /*fold00*/
    spin_lock_irqsave(&sc->lmc_lock, flags);

    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);
        return;
    }
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ typedef SCCBMGR_INFO * PSCCBMGR_INFO;
#define PCI_BUS_CARD          0x03
#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' 
 */

Loading