lkml.org 
[lkml]   [2011]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/4] staging: Remove direct includes of printk.h
    Date
    Make the uses kernel.h instead.

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    drivers/staging/brcm80211/brcmfmac/dhd_sdio.c | 1 -
    drivers/staging/brcm80211/util/bcmutils.c | 1 -
    drivers/staging/usbip/usbip_common.h | 2 +-
    3 files changed, 1 insertions(+), 3 deletions(-)

    diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
    index a71c6f8..b00029a 100644
    --- a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
    +++ b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
    @@ -16,7 +16,6 @@

    #include <linux/types.h>
    #include <linux/kernel.h>
    -#include <linux/printk.h>
    #include <linux/pci_ids.h>
    #include <linux/netdevice.h>
    #include <bcmdefs.h>
    diff --git a/drivers/staging/brcm80211/util/bcmutils.c b/drivers/staging/brcm80211/util/bcmutils.c
    index 43e5bb3..1c8b6c6 100644
    --- a/drivers/staging/brcm80211/util/bcmutils.c
    +++ b/drivers/staging/brcm80211/util/bcmutils.c
    @@ -21,7 +21,6 @@
    #include <linux/pci.h>
    #include <linux/netdevice.h>
    #include <linux/sched.h>
    -#include <linux/printk.h>
    #include <bcmdefs.h>
    #include <stdarg.h>
    #include <bcmutils.h>
    diff --git a/drivers/staging/usbip/usbip_common.h b/drivers/staging/usbip/usbip_common.h
    index 4a641c5..0f9176d 100644
    --- a/drivers/staging/usbip/usbip_common.h
    +++ b/drivers/staging/usbip/usbip_common.h
    @@ -24,7 +24,7 @@
    #include <linux/device.h>
    #include <linux/interrupt.h>
    #include <linux/net.h>
    -#include <linux/printk.h>
    +#include <linux/kernel.h>
    #include <linux/spinlock.h>
    #include <linux/types.h>
    #include <linux/usb.h>
    --
    1.7.4.rc3


    \
     
     \ /
      Last update: 2011-05-25 19:07    [W:0.020 / U:31.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site