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
b35670bf
Commit
b35670bf
authored
Sep 22, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[I2C]: Several drivers forget to include asm/io.h
parent
19323b83
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
2 deletions
+7
-2
drivers/i2c/busses/i2c-i810.c
drivers/i2c/busses/i2c-i810.c
+1
-0
drivers/i2c/busses/i2c-prosavage.c
drivers/i2c/busses/i2c-prosavage.c
+1
-1
drivers/i2c/busses/i2c-savage4.c
drivers/i2c/busses/i2c-savage4.c
+1
-0
drivers/i2c/busses/i2c-sis5595.c
drivers/i2c/busses/i2c-sis5595.c
+1
-0
drivers/i2c/busses/i2c-sis630.c
drivers/i2c/busses/i2c-sis630.c
+1
-1
drivers/i2c/busses/i2c-via.c
drivers/i2c/busses/i2c-via.c
+1
-0
drivers/i2c/busses/i2c-voodoo3.c
drivers/i2c/busses/i2c-voodoo3.c
+1
-0
No files found.
drivers/i2c/busses/i2c-i810.c
View file @
b35670bf
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* GPIO register locations */
/* GPIO register locations */
#define I810_IOCONTROL_OFFSET 0x5000
#define I810_IOCONTROL_OFFSET 0x5000
...
...
drivers/i2c/busses/i2c-prosavage.c
View file @
b35670bf
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/*
/*
* driver configuration
* driver configuration
...
...
drivers/i2c/busses/i2c-savage4.c
View file @
b35670bf
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* 3DFX defines */
/* 3DFX defines */
#define PCI_CHIP_SAVAGE3D 0x8A20
#define PCI_CHIP_SAVAGE3D 0x8A20
...
...
drivers/i2c/busses/i2c-sis5595.c
View file @
b35670bf
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <asm/io.h>
static
int
blacklist
[]
=
{
static
int
blacklist
[]
=
{
PCI_DEVICE_ID_SI_540
,
PCI_DEVICE_ID_SI_540
,
...
...
drivers/i2c/busses/i2c-sis630.c
View file @
b35670bf
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <asm/io.h>
/* SIS630 SMBus registers */
/* SIS630 SMBus registers */
#define SMB_STS 0x80
/* status */
#define SMB_STS 0x80
/* status */
...
...
drivers/i2c/busses/i2c-via.c
View file @
b35670bf
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include <linux/init.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* Power management registers */
/* Power management registers */
#define PM_CFG_REVID 0x08
/* silicon revision code */
#define PM_CFG_REVID 0x08
/* silicon revision code */
...
...
drivers/i2c/busses/i2c-voodoo3.c
View file @
b35670bf
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/i2c.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c-algo-bit.h>
#include <asm/io.h>
/* the only registers we use */
/* the only registers we use */
#define REG 0x78
#define REG 0x78
...
...
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