Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ce1fd369
Commit
ce1fd369
authored
Jun 14, 2011
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: Update document for using KBUILD_MODNAME
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
934c2b6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Documentation/DocBook/writing-an-alsa-driver.tmpl
Documentation/DocBook/writing-an-alsa-driver.tmpl
+5
-5
No files found.
Documentation/DocBook/writing-an-alsa-driver.tmpl
View file @
ce1fd369
...
...
@@ -1164,7 +1164,7 @@
}
chip-
>
port = pci_resource_start(pci, 0);
if (request_irq(pci->irq, snd_mychip_interrupt,
IRQF_SHARED,
"My Chip"
, chip)) {
IRQF_SHARED,
KBUILD_MODNAME
, chip)) {
printk(KERN_ERR "cannot grab irq %d\n", pci->irq);
snd_mychip_free(chip);
return -EBUSY;
...
...
@@ -1197,7 +1197,7 @@
/* pci_driver definition */
static struct pci_driver driver = {
.name =
"My Own Chip"
,
.name =
KBUILD_MODNAME
,
.id_table = snd_mychip_ids,
.probe = snd_mychip_probe,
.remove = __devexit_p(snd_mychip_remove),
...
...
@@ -1340,7 +1340,7 @@
<programlisting>
<![CDATA[
if (request_irq(pci->
irq, snd_mychip_interrupt,
IRQF_SHARED,
"My Chip"
, chip)) {
IRQF_SHARED,
KBUILD_MODNAME
, chip)) {
printk(KERN_ERR "cannot grab irq %d\n", pci->irq);
snd_mychip_free(chip);
return -EBUSY;
...
...
@@ -1616,7 +1616,7 @@
<programlisting>
<![CDATA[
static struct pci_driver driver = {
.name =
"My Own Chip"
,
.name =
KBUILD_MODNAME
,
.id_table = snd_mychip_ids,
.probe = snd_mychip_probe,
.remove = __devexit_p(snd_mychip_remove),
...
...
@@ -5816,7 +5816,7 @@ struct _snd_pcm_runtime {
<programlisting>
<![CDATA[
static struct pci_driver driver = {
.name =
"My Chip"
,
.name =
KBUILD_MODNAME
,
.id_table = snd_my_ids,
.probe = snd_my_probe,
.remove = __devexit_p(snd_my_remove),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment