git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
drivers
/
pci
/
hotplug
/
cpqphp_sysfs.c
diff --git
a/drivers/pci/hotplug/cpqphp_sysfs.c
b/drivers/pci/hotplug/cpqphp_sysfs.c
index
5bab666
..
bbfeed7
100644
(file)
--- a/
drivers/pci/hotplug/cpqphp_sysfs.c
+++ b/
drivers/pci/hotplug/cpqphp_sysfs.c
@@
-26,6
+26,7
@@
*
*/
*
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
@@
-140,7
+141,7
@@
struct ctrl_dbg {
static int open(struct inode *inode, struct file *file)
{
static int open(struct inode *inode, struct file *file)
{
- struct controller *ctrl = inode->
i_private
;
+ struct controller *ctrl = inode->
u.generic_ip
;
struct ctrl_dbg *dbg;
int retval = -ENOMEM;
struct ctrl_dbg *dbg;
int retval = -ENOMEM;