Commit 470aab84 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] piix compile fix for CONFIG_PROC_FS=n

Fix by Randy Dunlap

Here's a patch to build ide/pci/piix.c with CONFIG_PROC_FS=n.
parent bf590c40
......@@ -106,6 +106,7 @@
#include "ide_modes.h"
#include "piix.h"
static int no_piix_dma;
#if defined(DISPLAY_PIIX_TIMINGS) && defined(CONFIG_PROC_FS)
#include <linux/stat.h>
#include <linux/proc_fs.h>
......@@ -114,7 +115,6 @@ static u8 piix_proc = 0;
#define PIIX_MAX_DEVS 5
static struct pci_dev *piix_devs[PIIX_MAX_DEVS];
static int n_piix_devs;
static int no_piix_dma = 0;
/**
* piix_get_info - fill in /proc for PIIX ide
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment