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
f1420515
Commit
f1420515
authored
May 10, 2007
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull misc-for-upstream into release branch
parents
19ed0d6f
a64e62a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/misc/Kconfig
drivers/misc/Kconfig
+1
-1
drivers/misc/sony-laptop.c
drivers/misc/sony-laptop.c
+4
-4
No files found.
drivers/misc/Kconfig
View file @
f1420515
...
@@ -130,7 +130,7 @@ config SONY_LAPTOP
...
@@ -130,7 +130,7 @@ config SONY_LAPTOP
Read <file:Documentation/sony-laptop.txt> for more information.
Read <file:Documentation/sony-laptop.txt> for more information.
config SONY
_LAPTOP_OLD
config SONY
PI_COMPAT
bool "Sonypi compatibility"
bool "Sonypi compatibility"
depends on SONY_LAPTOP
depends on SONY_LAPTOP
---help---
---help---
...
...
drivers/misc/sony-laptop.c
View file @
f1420515
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <linux/sonypi.h>
#include <linux/sonypi.h>
#include <linux/sony-laptop.h>
#include <linux/sony-laptop.h>
#ifdef CONFIG_SONY
_LAPTOP_OLD
#ifdef CONFIG_SONY
PI_COMPAT
#include <linux/poll.h>
#include <linux/poll.h>
#include <linux/miscdevice.h>
#include <linux/miscdevice.h>
#endif
#endif
...
@@ -114,7 +114,7 @@ MODULE_PARM_DESC(camera,
...
@@ -114,7 +114,7 @@ MODULE_PARM_DESC(camera,
"set this to 1 to enable Motion Eye camera controls "
"set this to 1 to enable Motion Eye camera controls "
"(only use it if you have a C1VE or C1VN model)"
);
"(only use it if you have a C1VE or C1VN model)"
);
#ifdef CONFIG_SONY
_LAPTOP_OLD
#ifdef CONFIG_SONY
PI_COMPAT
static
int
minor
=
-
1
;
static
int
minor
=
-
1
;
module_param
(
minor
,
int
,
0
);
module_param
(
minor
,
int
,
0
);
MODULE_PARM_DESC
(
minor
,
MODULE_PARM_DESC
(
minor
,
...
@@ -1504,7 +1504,7 @@ static struct attribute_group spic_attribute_group = {
...
@@ -1504,7 +1504,7 @@ static struct attribute_group spic_attribute_group = {
};
};
/******** SONYPI compatibility **********/
/******** SONYPI compatibility **********/
#ifdef CONFIG_SONY
_LAPTOP_OLD
#ifdef CONFIG_SONY
PI_COMPAT
/* battery / brightness / temperature addresses */
/* battery / brightness / temperature addresses */
#define SONYPI_BAT_FLAGS 0x81
#define SONYPI_BAT_FLAGS 0x81
...
@@ -1798,7 +1798,7 @@ static void sonypi_compat_exit(void)
...
@@ -1798,7 +1798,7 @@ static void sonypi_compat_exit(void)
static
int
sonypi_compat_init
(
void
)
{
return
0
;
}
static
int
sonypi_compat_init
(
void
)
{
return
0
;
}
static
void
sonypi_compat_exit
(
void
)
{
}
static
void
sonypi_compat_exit
(
void
)
{
}
static
void
sonypi_compat_report_event
(
u8
event
)
{
}
static
void
sonypi_compat_report_event
(
u8
event
)
{
}
#endif
/* CONFIG_SONY
_LAPTOP_OLD
*/
#endif
/* CONFIG_SONY
PI_COMPAT
*/
/*
/*
* ACPI callbacks
* ACPI callbacks
...
...
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