Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple PCIe FMC carrier SPEC
Commits
ee7577c3
Commit
ee7577c3
authored
Mar 24, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drv: remove unused operations
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
f5477ec9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
spec-irq.c
kernel/spec-irq.c
+0
-22
No files found.
kernel/spec-irq.c
View file @
ee7577c3
...
...
@@ -215,27 +215,6 @@ static struct irq_chip spec_irq_gpio_chip = {
.
irq_set_type
=
spec_irq_gpio_set_type
,
};
/**
* It match a given device with the irq_domain. `struct device_node *` is just
* a convention. actually it can be anything (I do not understand why kernel
* people did not use `void *`)
*
* In our case here we expect a string because we identify this domain by
* name
*/
static
int
spec_irq_gpio_domain_match
(
struct
irq_domain
*
d
,
struct
device_node
*
node
)
{
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0)
char
*
name
=
(
char
*
)
node
;
if
(
strcmp
(
d
->
name
,
name
)
==
0
)
return
1
;
#endif
return
0
;
}
/**
* Given the hardware IRQ and the Linux IRQ number (virtirq), configure the
* Linux IRQ number in order to handle properly the incoming interrupts
...
...
@@ -258,7 +237,6 @@ static int spec_irq_gpio_domain_map(struct irq_domain *h,
static
struct
irq_domain_ops
spec_irq_gpio_domain_ops
=
{
.
match
=
spec_irq_gpio_domain_match
,
.
map
=
spec_irq_gpio_domain_map
,
};
...
...
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