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
1a4671ff
Commit
1a4671ff
authored
Feb 15, 2024
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
platform-msi: Remove unused interfaces
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
14fd06c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
17 deletions
+2
-17
drivers/base/platform-msi.c
drivers/base/platform-msi.c
+2
-14
include/linux/msi.h
include/linux/msi.h
+0
-3
No files found.
drivers/base/platform-msi.c
View file @
1a4671ff
...
...
@@ -206,8 +206,8 @@ static void platform_msi_free_priv_data(struct device *dev)
* Returns:
* Zero for success, or an error code in case of failure
*/
int
platform_msi_domain_alloc_irqs
(
struct
device
*
dev
,
unsigned
int
nvec
,
irq_write_msi_msg_t
write_msi_msg
)
static
int
platform_msi_domain_alloc_irqs
(
struct
device
*
dev
,
unsigned
int
nvec
,
irq_write_msi_msg_t
write_msi_msg
)
{
int
err
;
...
...
@@ -221,18 +221,6 @@ int platform_msi_domain_alloc_irqs(struct device *dev, unsigned int nvec,
return
err
;
}
EXPORT_SYMBOL_GPL
(
platform_msi_domain_alloc_irqs
);
/**
* platform_msi_domain_free_irqs - Free MSI interrupts for @dev
* @dev: The device for which to free interrupts
*/
void
platform_msi_domain_free_irqs
(
struct
device
*
dev
)
{
msi_domain_free_irqs_all
(
dev
,
MSI_DEFAULT_DOMAIN
);
platform_msi_free_priv_data
(
dev
);
}
EXPORT_SYMBOL_GPL
(
platform_msi_domain_free_irqs
);
/**
* platform_msi_get_host_data - Query the private data associated with
...
...
include/linux/msi.h
View file @
1a4671ff
...
...
@@ -635,9 +635,6 @@ struct msi_domain_info *msi_get_domain_info(struct irq_domain *domain);
struct
irq_domain
*
platform_msi_create_irq_domain
(
struct
fwnode_handle
*
fwnode
,
struct
msi_domain_info
*
info
,
struct
irq_domain
*
parent
);
int
platform_msi_domain_alloc_irqs
(
struct
device
*
dev
,
unsigned
int
nvec
,
irq_write_msi_msg_t
write_msi_msg
);
void
platform_msi_domain_free_irqs
(
struct
device
*
dev
);
/* When an MSI domain is used as an intermediate domain */
int
msi_domain_prepare_irqs
(
struct
irq_domain
*
domain
,
struct
device
*
dev
,
...
...
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