Commit c89cb7a0 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: add some bluetooth ioctls and clean up some warnings

parent e4840b0e
......@@ -99,6 +99,7 @@
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci.h>
#include <net/bluetooth/rfcomm.h>
#include <linux/usb.h>
#include <linux/usbdevice_fs.h>
......@@ -3633,6 +3634,15 @@ static int do_blkgetsize64(unsigned int fd, unsigned int cmd,
return sys_ioctl(fd, BLKGETSIZE64, arg);
}
/* Bluetooth ioctls */
#define HCIUARTSETPROTO _IOW('U', 200, int)
#define HCIUARTGETPROTO _IOR('U', 201, int)
#define BNEPCONNADD _IOW('B', 200, int)
#define BNEPCONNDEL _IOW('B', 201, int)
#define BNEPGETCONNLIST _IOR('B', 210, int)
#define BNEPGETCONNINFO _IOR('B', 211, int)
struct ioctl_trans {
unsigned long cmd;
unsigned long handler;
......@@ -4241,6 +4251,17 @@ COMPATIBLE_IOCTL(HCISETLINKMODE),
COMPATIBLE_IOCTL(HCISETACLMTU),
COMPATIBLE_IOCTL(HCISETSCOMTU),
COMPATIBLE_IOCTL(HCIINQUIRY),
COMPATIBLE_IOCTL(HCIUARTSETPROTO),
COMPATIBLE_IOCTL(HCIUARTGETPROTO),
COMPATIBLE_IOCTL(RFCOMMCREATEDEV),
COMPATIBLE_IOCTL(RFCOMMRELEASEDEV),
COMPATIBLE_IOCTL(RFCOMMGETDEVLIST),
COMPATIBLE_IOCTL(RFCOMMGETDEVINFO),
COMPATIBLE_IOCTL(RFCOMMSTEALDLC),
COMPATIBLE_IOCTL(BNEPCONNADD),
COMPATIBLE_IOCTL(BNEPCONNDEL),
COMPATIBLE_IOCTL(BNEPGETCONNLIST),
COMPATIBLE_IOCTL(BNEPGETCONNINFO),
COMPATIBLE_IOCTL(PCIIOC_CONTROLLER),
COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO),
COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM),
......
......@@ -44,7 +44,6 @@
#include <asm/time.h>
extern unsigned long wall_jiffies;
#define USEC_PER_SEC (1000000)
void
check_bugs(void)
......
......@@ -77,7 +77,6 @@ static unsigned long first_settimeofday = 1;
#endif
#define XSEC_PER_SEC (1024*1024)
#define USEC_PER_SEC (1000000)
unsigned long tb_ticks_per_jiffy;
unsigned long tb_ticks_per_usec;
......
......@@ -13,6 +13,7 @@
#include <linux/smp.h>
#include <linux/irq.h>
#include <linux/oprofile.h>
#include <linux/profile.h>
#include <asm/ptrace.h>
static int timer_notify(struct notifier_block * self, unsigned long val, void * data)
......
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