Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
15a453a9
Commit
15a453a9
authored
Mar 27, 2009
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ide: include <asm/ide.h> only when needed
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
443d18c8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
drivers/ide/ide-io-std.c
drivers/ide/ide-io-std.c
+7
-0
drivers/ide/tx4938ide.c
drivers/ide/tx4938ide.c
+2
-0
drivers/ide/tx4939ide.c
drivers/ide/tx4939ide.c
+2
-0
include/linux/ide.h
include/linux/ide.h
+0
-7
No files found.
drivers/ide/ide-io-std.c
View file @
15a453a9
...
...
@@ -2,6 +2,13 @@
#include <linux/kernel.h>
#include <linux/ide.h>
#if defined(CONFIG_ARM) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) || \
defined(CONFIG_PARISC) || defined(CONFIG_PPC) || defined(CONFIG_SPARC)
#include <asm/ide.h>
#else
#include <asm-generic/ide_iops.h>
#endif
/*
* Conventional PIO operations for ATA devices
*/
...
...
drivers/ide/tx4938ide.c
View file @
15a453a9
...
...
@@ -15,6 +15,8 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <asm/ide.h>
#include <asm/txx9/tx4938.h>
static
void
tx4938ide_tune_ebusc
(
unsigned
int
ebus_ch
,
...
...
drivers/ide/tx4939ide.c
View file @
15a453a9
...
...
@@ -18,6 +18,8 @@
#include <linux/io.h>
#include <linux/scatterlist.h>
#include <asm/ide.h>
#define MODNAME "tx4939ide"
/* ATA Shadow Registers (8-bit except for Data which is 16-bit) */
...
...
include/linux/ide.h
View file @
15a453a9
...
...
@@ -193,13 +193,6 @@ static inline void ide_std_init_ports(hw_regs_t *hw,
hw
->
io_ports
.
ctl_addr
=
ctl_addr
;
}
#if defined(CONFIG_ARM) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) || \
defined(CONFIG_PARISC) || defined(CONFIG_PPC) || defined(CONFIG_SPARC)
#include <asm/ide.h>
#else
#include <asm-generic/ide_iops.h>
#endif
#define MAX_HWIFS 10
/*
...
...
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